MacでのTracプラグイン開発(Hello World編)

いろいろはまったが以下でおけ(たぶん)
環境はMac10.5でPython2.5ね。MacPortは使わない。

setuptoolsのインストール

> wget http://peak.telecommunity.com/dist/ez_setup.py
> python ez_setup.py

Tracのインストール

> sudo easy_install Trac

プロジェクト作成

> trac-admin プロジェクト initenv

http://trac-hacks.org/wiki/EggCookingTutorialTrac0.11
にしたがって作成したTrachelloworld-1.1-py2.5.eggをpluginsに配置し、trac.iniを編集。

Tracの起動

> tracd --port 8000 プロジェクト

こんなかんじ