| 75 | === Trac ''stable'' === |
| 76 | The latest revision for the ''stable'' version of Trac (currently Trac [milestone:0.10.3]dev) can be checked out with the following command: |
| 77 | |
| 78 | {{{ |
| 79 | svn co http://svn.edgewall.org/repos/trac/branches/0.10-stable 0.10.3dev |
| 80 | }}} |
| 81 | |
| 82 | For installing this version, we recommend that you choose some well visible place (e.g. `/opt/trac-0.10.3dev`), and override the PYTHONPATH environment variable (or !PythonPath path directive for `mod_python`) by ''preprending'' the `/opt/trac-0.10.3dev/lib/python2.4/site-packages` path (replace 2.4 by the Python version that you actually use). That way, you minimize the risk of interferences with the packaged Trac version you probably already have. |
| 83 | {{{ |
| 84 | cd 0.10.3dev |
| 85 | python setup.py install --prefix=/opt/trac-0.10.3dev |
| 86 | }}} |
| 87 | then: |
| 88 | {{{ |
| 89 | export PYTHONPATH=/opt/trac-0.10.3dev/lib/python2.4/site-packages:$PYTHONPATH |
| 90 | }}} |
| 91 | or, in your httpd.conf: |
| 92 | {{{ |
| 93 | <Location /projects/myproject> |
| 94 | ... |
| 95 | PythonPath "['/opt/trac-0.10.3dev/lib/python2.4/site-packages'] + sys.path" |
| 96 | ... |
| 97 | </Location> |
| 98 | }}} |
| 99 | |
| 100 | === Miscellaneous === |