Changes between Version 220 and Version 221 of TracDownload
- Timestamp:
- Sep 23, 2023, 10:36:52 PM (8 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracDownload
v220 v221 10 10 The latest releases are also available on [pypi:Trac PyPI]. 11 11 12 == Latest Stable Release for the 1. 4.x line #Trac14StableRelease12 == Latest Stable Release for the 1.6.x line #Trac16StableRelease 13 13 14 14 Here's the latest and greatest version of Trac. 15 15 16 See the [[TracDev/ReleaseNotes/1. 4#MaintenanceReleases|release notes]] for details.16 See the [[TracDev/ReleaseNotes/1.6#MaintenanceReleases|release notes]] for details. 17 17 18 [[TracDownloads(Trac-latest )]]18 [[TracDownloads(Trac-latest-1.6)]] 19 19 20 20 Again, be sure to read TracInstall and TracUpgrade before installing or upgrading, then proceed by reading the rest of the TracGuide. If you have any trouble, check the TracSupport page which explains how to get help. 21 21 22 22 {{{#!div style="border: 1px dotted #aaa; background: #ffe; width: 26em; margin: auto; padding: 0 2em; font-size: 90%" 23 24 === About the prerequisites for Trac 1.6.x 25 - Python 3.5+ (+[pypi:setuptools]) 26 - Jinja2: [pypi:jinja2 >= 2.9.3] 27 - Babel (optional): [pypi:Babel >= 2.2 and < 2.10] Note that it needs to be installed **before** Trac when installing Trac from source (.gz). 28 }}} 29 30 == Older Stable Releases #OlderReleases 31 32 == Latest Stable Release for the 1.4.x line #Trac14StableRelease 33 34 Here's the latest version of the 1.4.x release line. See the [[TracDev/ReleaseNotes/1.4#MaintenanceReleases|release notes]] for details. 35 36 [[TracDownloads(Trac-latest-1.4)]] 37 38 Again, be sure to read TracInstall and TracUpgrade before installing or upgrading, then proceed by reading the rest of the TracGuide. If you have any trouble, check the TracSupport page which explains how to get help. 39 40 {{{#!div style="border: 1px dotted #aaa; background: #f6f6f6; width: 26em; margin: auto; padding: 0 2em; font-size: 90%" 23 41 24 42 === About the prerequisites for Trac 1.4.x … … 31 49 For Windows x64, there are no installers for Genshi and Babel so install them [TracInstall#Usingpip using pip]. 32 50 }}} 33 34 == Older Stable Releases #OlderReleases35 51 36 52 === Latest Stable Release for the 1.2.x line #Trac12StableRelease … … 65 81 66 82 83 {{{#!comment 67 84 == Latest Development Releases for the 1.5.x line (unstable) #LatestDevRelease 68 85 … … 124 141 }}} 125 142 126 === Trac ''1.4-stable'' #Tracstable 127 The latest revision for the upcoming [https://svn.edgewall.org/repos/trac/branches/1.4-stable#egg=Trac-1.4-dev next maintenance release] of Trac ([milestone:next-stable-1.4.x]) can be checked out with the following command: 143 }}} 144 145 === Trac ''1.6-stable'' #Tracstable 146 The latest revision for the upcoming [https://svn.edgewall.org/repos/trac/branches/1.6-stable#egg=Trac-1.6-dev next maintenance release] of Trac ([milestone:next-stable-1.6.x]) can be checked out with the following command: 128 147 {{{#!sh 129 svn co https://svn.edgewall.org/repos/trac/branches/1. 4-stable trac148 svn co https://svn.edgewall.org/repos/trac/branches/1.6-stable trac 130 149 }}} 131 150 132 151 Installation can be performed as usual, using for example the following command: 133 152 {{{#!sh 134 cd 1. 4-stable153 cd 1.6-stable 135 154 python setup.py install 136 155 }}} … … 138 157 Alternatively, you can directly "pip install" the latest stable version from the repository: 139 158 {{{#!sh 140 pip install svn+https://svn.edgewall.org/repos/trac/branches/1. 4-stable159 pip install svn+https://svn.edgewall.org/repos/trac/branches/1.6-stable 141 160 }}} 142 161 … … 152 171 We recommend that you choose some well visible place (e.g. `/opt/trac-1.4dev`), and override the PYTHONPATH environment variable (or !PythonPath path directive for `mod_python`) by ''prepending'' the `/opt/trac-1.4dev/lib/python2.7/site-packages` path (replace 2.7 by the Python version that you actually use). That way, you minimize the risk of interfering with the packaged Trac version you probably already have. 153 172 {{{#!sh 154 $ cd 1. 4-stable155 $ python setup.py install --prefix=/opt/trac-1. 4dev173 $ cd 1.6-stable 174 $ python setup.py install --prefix=/opt/trac-1.6dev 156 175 }}} 157 176 then: 158 177 {{{#!sh 159 $ export PYTHONPATH=/opt/trac-1. 4dev/lib/python2.7/site-packages:$PYTHONPATH178 $ export PYTHONPATH=/opt/trac-1.6dev/lib/python2.7/site-packages:$PYTHONPATH 160 179 }}} 161 180 or, in your httpd.conf: … … 163 182 <Location /projects/myproject> 164 183 ... 165 PythonPath "['/opt/trac-1.4 dev/lib/python2.7/site-packages'] + sys.path"184 PythonPath "['/opt/trac-1.46ev/lib/python2.7/site-packages'] + sys.path" 166 185 ... 167 186 </Location>