Changes between Version 302 and Version 303 of TracInstall
- Timestamp:
- Apr 23, 2010, 5:25:16 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracInstall
v302 v303 120 120 121 121 == Installing Trac == 122 122 === Using `easy_install` 123 123 One way to install Trac is using `setuptools`. 124 With setuptools you can install Trac from the subversion repository; for example,125 to install release version 0.12dev do: 126 {{{ 127 easy_install Trac==dev 128 }}} 129 130 Note that as long as [Genshi:milestone:0.6 Genshi 0.6] is not released, you'll need to do: 131 {{{ 132 easy_install Genshi==dev 133 }}} 134 before, otherwise you'll get the following error: 135 {{{ 136 No local packages or download links found for Genshi>=0.6dev-r1072 137 error: Could not find suitable distribution for Requirement.parse('Genshi>=0.6dev-r1072') 138 }}} 139 140 141 Of course, using the python-typical setup at the top of the source directory also works :142 {{{ 143 $ svn checkout http://svn.edgewall.org/repos/trac/trunk 144 $ cd trunk 145 124 With setuptools you can install Trac from the subversion repository; 125 126 A few examples: 127 128 - install Trac 0.12 beta1:: 129 {{{ 130 easy_install Trac==0.12b1 131 }}} 132 133 - install latest development version 0.12dev 134 {{{ 135 easy_install Trac==dev 136 }}} 137 Note that in this case you won't have the possibility to run a localized version of Trac; 138 either use a released version or install from source 139 140 === From source 141 Of course, using the python-typical setup at the top of the source directory also works. 142 143 You can obtain the source for a .tar.gz or .zip file corresponding to a release (e.g. Trac-0.12b1.tar.gz), or you can get the source directly from the repository (see Trac:SubversionRepository for details). 144 145 {{{ 146 146 $ python ./setup.py install 147 147 }}} 148 See SubversionRepository for details about getting the source. 149 150 ''Note 1: you'll need root permissions or equivalent for this step.'' [[br]] 151 ''Note 2: installing from source is the preferred method if you want to have a localized version of Trac'' ** FIXME ** [[br]] 148 149 ''You'll need root permissions or equivalent for this step.'' 152 150 153 151 This will byte-compile the python source code and install it as an .egg file or folder in the `site-packages` directory … … 156 154 The script will also install the [wiki:TracAdmin trac-admin] command-line tool, used to create and maintain [wiki:TracEnvironment project environments], as well as the [wiki:TracStandalone tracd] standalone server. 157 155 158 If you want to make Trac available in other languages, make sure you have installed Babel and then run this additional step before doing the `install` (or simply redo the `install` afterwards):156 If you install from source and want to make Trac available in other languages, make sure you have installed Babel and then run this additional step before doing the `install` (or simply redo the `install` afterwards): 159 157 {{{ 160 158 $ python ./setup.py compile_catalog -f