trac入れる

mercurialで使いたかったがめんどくさすぎて挫折した!

sudo easy_install trac

trac 0.11.1が入った


tracmercurialプラグインのeggを作ってインストール
http://trac.edgewall.org/wiki/TracMercurial

svn co http://svn.edgewall.com/repos/trac/sandbox/mercurial-plugin-0.11
cd mercurial-plugin-0.11/
python setup.py bdist_egg
cd dist
sudo easy_install TracMercurial-0.11.0.5-py2.5.egg

TracMercurial 0.11.0.5が入った

sudo easy_install PySqlite
trac-admin /var/www/path/to/repos/ initenv

easy_installで入れたtracの下に、trac.cgiがあるのでコピーする

cp trac/cgi-bin/trac.cgi /var/www/path/to/repos/index.cgi
cd /var/www/path/to/repos
chmod 755 index.cgi
sudo apt-get install libapache2-mod-python
sudo apt-get install python-clearsilver
sudo easy_install PyXML

あー、めんどくさくなってきた。とりあえずhgweb.cgiでいいや