Changes between Version 2 and Version 3 of 1.5/TracInstall
- Timestamp:
- Dec 19, 2020, 9:40:31 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
1.5/TracInstall
v2 v3 17 17 To install Trac, the following software packages must be installed: 18 18 19 * [https://www.python.org/ Python], version >= 2.7 and < 3.0 20 (note that we dropped the support for Python 2.6 in this release) 19 * [https://www.python.org/ Python], version >= 3.5 21 20 * [https://pypi.org/project/setuptools setuptools], version > 5.6 22 21 * [https://pypi.org/project/Jinja2 Jinja2], version >= 2.9.3 … … 34 33 You need to install the database and its Python bindings: 35 34 * [https://www.postgresql.org/ PostgreSQL], version 9.1 or later 36 * [https://pypi.org/project/psycopg2 psycopg2], version 2. 0or later35 * [https://pypi.org/project/psycopg2 psycopg2], version 2.5 or later 37 36 38 37 See [trac:DatabaseBackend#Postgresql DatabaseBackend] for details. … … 51 50 ==== Subversion 52 51 53 [https://subversion.apache.org/ Subversion], 1. 6.x or later and the '''''corresponding''''' Python bindings.52 [https://subversion.apache.org/ Subversion], 1.14.x or later and the '''''corresponding''''' Python bindings. 54 53 55 54 There are [https://subversion.apache.org/packages.html pre-compiled SWIG bindings] available for various platforms. See [trac:TracSubversion#GettingSubversion getting Subversion] for more information. … … 89 88 ==== Other Python Packages 90 89 91 * [http://babel.pocoo.org Babel], version 0.9.6 or >= 1.3,90 * [http://babel.pocoo.org Babel], version >= 2.2, 92 91 needed for localization support 93 92 * [http://pytz.sourceforge.net pytz] to get a complete list of time zones, … … 95 94 an internal time zone implementation. Installing Babel 96 95 will install pytz. 97 * [http://docutils.sourceforge.net docutils], version >= 0.3.9 98 for WikiRestructuredText. 99 * [http://pygments.org Pygments] for 100 [TracSyntaxColoring syntax highlighting]. 101 * [https://pypi.org/project/textile Textile] for rendering the [https://github.com/textile/python-textile Textile markup language]. 96 * [http://docutils.sourceforge.net docutils], 97 version >= 0.14, for WikiRestructuredText. 98 * [http://pygments.org Pygments], version >= 1.0, 99 for [TracSyntaxColoring syntax highlighting]. 100 * [https://pypi.org/project/textile Textile], 101 version >= 2.3, 102 for rendering the [https://github.com/textile/python-textile Textile markup language]. 102 103 * [https://pypi.org/project/passlib passlib] on Windows to decode [TracStandalone#BasicAuthorization:Usingahtpasswdpasswordfile htpasswd formats] other than `SHA-1`. 103 104 * [https://pypi.org/project/pyreadline pyreadline] on Windows for trac-admin [TracAdmin#InteractiveMode command completion]. … … 116 117 117 118 === Using `pip` 118 `pip` is the modern Python package manager and is included in Python 2.7.9 and later. Use [https://bootstrap.pypa.io/get-pip.py get-pip.py] to install `pip` for an earlier version of Python. 119 120 {{{#!sh 121 $ pip install Trac 122 }}} 123 124 `pip` will automatically resolve the //required// dependencies (Jinja2 and setuptools) and download the latest packages from pypi.org. 119 `pip` is the modern Python package manager and is included in Python distributions. `pip` will automatically 120 resolve the //required// dependencies (Jinja2 and 121 setuptools) and download the latest packages from pypi.org. 125 122 126 123 You can also install directly from a source package. You can obtain the source in a tar or zip from the [trac:TracDownload] page. After extracting the archive, change to the directory containing `setup.py` and run: … … 140 137 $ pip install https://download.edgewall.org/trac/Trac-latest-dev.tar.gz 141 138 }}} 142 * Install the unreleased 1. 2-stable from subversion:139 * Install the unreleased 1.4-stable from subversion: 143 140 {{{#!sh 144 141 $ pip install svn+https://svn.edgewall.org/repos/trac/branches/1.2-stable