Skip to content. | Skip to navigation

Navigation

Personal tools

Development Applications

Perl, CVS, Databases, that sort of stuff

Trac

Project Management and bug-tracking

Trac is an open source, minimalist, web-based project management and bug-tracking tool. It is well-integrated with Subversion.

We're going to install Trac 0.11 (dev) as Trac is on the cusp of switching template mechanism amongst others and some of the extensions we want to install are only being maintained for 0.11.

Prerequisites

Trac 0.11 requires SWIG to interoperate with Subversion, SQLite and PySQLite, setuptools, Genshi, docutils, mod_python... Don't worry, it's worth it.

setuptools

setuptools is really the ez_setup system.

Download ez_setup.py and run it. That's it.

python ez_setup.py

Genshi

Genshi does stuff with HTML and XML but is used by Trac for its templating language.

/usr/local/Python-2.5.1/bin/easy_install Genshi

docutils

docutils gives us reStructuredText in the wiki. Which is nice.

cd .../docutils

python install.py

Download

We have the technology, use it!

svn co http://svn.edgewall.org/repos/trac/trunk trac

Install

python setup.py install

That's not quite it. There's a subtlety to the Python (ie. Trac) Subversion bindings. Python needs to be told about it! The trick is to either change your PYTHONPATH for the web server or to create an element in the Python site-packages directory:

echo /usr/local/subversion-1.4.3/lib/svn-python \
 > /usr/local/Python-2.5.1/lib/python2.5/site-packages/subversion.pth

Document Actions