Edgewall Software

Changes between Version 91 and Version 92 of TracDownload


Ignore:
Timestamp:
Feb 20, 2009, 4:42:24 PM (15 years ago)
Author:
Christian Boos
Comment:

0.10-stable is closed, move the installation tips into a more generic section

Legend:

Unmodified
Added
Removed
Modified
  • TracDownload

    v91 v92  
    9595
    9696=== Trac ''0.10-stable'' ===
    97 The latest revision for the ''stable'' version of Trac 0.10 (currently Trac [milestone:0.10.6]dev) can be checked out with the following command:
     97''Note that there's currently no difference between the 0.10-stable branch and the last Trac version on that release line (0.10.5). There's no planned 0.10.6 release either, the branch can be considered as being closed. ''
    9898
     99=== Installing versions from checkouts ===
     100
     101It's perfectly doable to run Trac directly from a checkout, and that's indeed very useful while developing (see TracDev/DevelopmentEnvironmentSetup).
     102
     103You can also install a development version, either using the normal installation procedure, or by installing it at a specific location.
     104We recommend that you choose some well visible place (e.g. `/opt/trac-0.10.6dev`), and override the PYTHONPATH environment variable (or !PythonPath path directive for `mod_python`) by ''preprending'' the `/opt/trac-0.10.6dev/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.
    99105{{{
    100 svn co http://svn.edgewall.org/repos/trac/branches/0.10-stable 0.10.6dev
    101 }}}
    102 
    103 For installing this version, we recommend that you choose some well visible place (e.g. `/opt/trac-0.10.6dev`), and override the PYTHONPATH environment variable (or !PythonPath path directive for `mod_python`) by ''preprending'' the `/opt/trac-0.10.6dev/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.
    104 {{{
    105 cd 0.10.6dev
    106 python setup.py install --prefix=/opt/trac-0.10.6dev
     106cd 0.11-stable
     107python setup.py install --prefix=/opt/trac-0.11.3dev
    107108}}}
    108109then:
    109110{{{
    110 export PYTHONPATH=/opt/trac-0.10.6dev/lib/python2.4/site-packages:$PYTHONPATH
     111export PYTHONPATH=/opt/trac-0.11.3dev/lib/python2.4/site-packages:$PYTHONPATH
    111112}}}
    112113or, in your httpd.conf:
     
    114115<Location /projects/myproject>
    115116  ...
    116   PythonPath "['/opt/trac-0.10.6dev/lib/python2.4/site-packages'] + sys.path"
     117  PythonPath "['/opt/trac-0.11.3dev/lib/python2.4/site-packages'] + sys.path"
    117118  ...
    118119</Location>