Edgewall Software

Changes between Version 125 and Version 126 of TracDownload


Ignore:
Timestamp:
Sep 2, 2010, 9:17:15 AM (14 years ago)
Author:
Christian Boos
Comment:

trunk is 0.13dev, stable is 0.12

Legend:

Unmodified
Added
Removed
Modified
  • TracDownload

    v125 v126  
    148148For further instructions on how to use Subversion, see [http://svnbook.red-bean.com/book.html The Subversion Book].
    149149
    150 
    151 === Trac ''0.12dev'' === #Tractrunk
    152 The latest revision for the [http://svn.edgewall.org/repos/trac/trunk#egg=Trac-dev trunk] version of Trac (currently [milestone:0.12]dev) can be checked out with the following command:
     150{{{#!htmlcomment
     151
     152I hope this is enough for PyPI:
     153
     154http://svn.edgewall.org/repos/trac/branches/0.11-stable#egg=Trac-0.11-dev 0.11-stable
     155
     156}}}
     157
     158=== Trac ''0.13dev'' === #Tractrunk
     159The latest revision for the [http://svn.edgewall.org/repos/trac/trunk#egg=Trac-dev trunk] version of Trac (currently [milestone:0.13]dev) can be checked out with the following command:
    153160{{{
    154161svn co http://svn.edgewall.org/repos/trac/trunk trac
     
    158165Be sure to read TracUpgrade and TracInstall for the specific installation instructions for this version.
    159166
    160 === Trac ''0.11-stable'' === #Tracstable
    161 
    162 The latest revision for the ''stable'' version of Trac 0.11 can be checked out from the [http://svn.edgewall.org/repos/trac/branches/0.11-stable#egg=Trac-0.11-dev 0.11-stable branch] with the following command:
    163 
    164 {{{
    165 svn co http://svn.edgewall.org/repos/trac/branches/0.11-stable 0.11dev
     167=== Trac ''0.12-stable'' === #Tracstable
     168
     169The latest revision for the ''stable'' version of Trac 0.12 can be checked out from the [http://svn.edgewall.org/repos/trac/branches/0.12-stable#egg=Trac-0.12-dev 0.12-stable branch] with the following command:
     170
     171{{{
     172svn co http://svn.edgewall.org/repos/trac/branches/0.12-stable 0.12dev
    166173}}}
    167174
    168175Installation can be performed as usual, using for example the following command:
    169176{{{
    170 cd 0.11dev
     177cd 0.12dev
    171178python setup.py install
    172179}}}
     
    174181Alternatively, you can directly "easy-install" the latest stable version from the repository:
    175182{{{
    176 easy_install http://svn.edgewall.org/repos/trac/branches/0.11-stable
     183easy_install http://svn.edgewall.org/repos/trac/branches/0.12-stable
    177184}}}
    178185`easy_install` is a script provided by the SetupTools.
     
    183190
    184191You can also install a development version, either using the normal installation procedure, or by installing it at a specific location.
    185 We recommend that you choose some well visible place (e.g. `/opt/trac-0.11.3dev`), and override the PYTHONPATH environment variable (or !PythonPath path directive for `mod_python`) by ''preprending'' the `/opt/trac-0.11.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.
    186 {{{
    187 cd 0.11-stable
    188 python setup.py install --prefix=/opt/trac-0.11.3dev
     192We recommend that you choose some well visible place (e.g. `/opt/trac-0.12dev`), and override the PYTHONPATH environment variable (or !PythonPath path directive for `mod_python`) by ''prepending'' the `/opt/trac-0.12dev/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.
     193{{{
     194cd 0.12-stable
     195python setup.py install --prefix=/opt/trac-0.12dev
    189196}}}
    190197then:
    191198{{{
    192 export PYTHONPATH=/opt/trac-0.11.3dev/lib/python2.4/site-packages:$PYTHONPATH
     199export PYTHONPATH=/opt/trac-0.12dev/lib/python2.4/site-packages:$PYTHONPATH
    193200}}}
    194201or, in your httpd.conf:
     
    196203<Location /projects/myproject>
    197204  ...
    198   PythonPath "['/opt/trac-0.11.3dev/lib/python2.4/site-packages'] + sys.path"
     205  PythonPath "['/opt/trac-0.12dev/lib/python2.4/site-packages'] + sys.path"
    199206  ...
    200207</Location>