Changes between Version 21 and Version 22 of TracPlugins
- Timestamp:
- Mar 17, 2006, 8:32:55 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracPlugins
v21 v22 34 34 35 35 === For All Projects === 36 ==== With a .egg file ==== 37 Some plugins (such as [http://projects.edgewall.com/trac/wiki/WebAdmin WebAdmin]) are downloadable as a `.egg` file which can be installed with the `easy_install` program: 38 {{{ 39 easy_install TracWebAdmin-0.1.1dev_r2765-py2.3.egg 40 }}} 36 41 37 Plugins that you want to use in all your projects (such as [http://projects.edgewall.com/trac/wiki/WebAdmin WebAdmin]) can be installed globally by running: 42 If `easy_install` is not on your system see the Requirements section above to install it. Windows users will need to add "C:\Python23\Scripts" to their `PATH` environment variable (see [http://peak.telecommunity.com/DevCenter/EasyInstall#windows-notes easy_install Windows notes] for more information. 43 44 ==== From source ==== 45 If you downloaded the plugin's source from Subversion, or a source zip file you can install it using the included `setup.py`: 38 46 {{{ 39 47 $ python setup.py install 40 48 }}} 41 49 42 Alternatively, you can just drop the `.egg` file in the Python `site-packages` directory (/usr/lib/python2.x/site-packages). You ''may'' have to add the path of this `.egg` file into the `easy-install.pth` file located in `site-packages` (This was necessary on a Windows-Apache-mod_python machine, but the file does not exist for a Linux cgi installation and is not necessary as long as the .egg file is dropped in the correct site-packages directory). 43 50 ==== Enabling the plugin ==== 44 51 Unlike plugins installed per-environment, you'll have to explicitly enable globally installed plugins via [wiki:TracIni trac.ini]. This is done in the `[components]` section of the configuration file, for example: 45 52 {{{