Changes between Version 5 and Version 6 of TracPlugins
- Timestamp:
- Sep 14, 2005, 1:56:10 PM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracPlugins
v5 v6 11 11 $ python ez_setup.py setuptools==0.5a13 12 12 }}} 13 14 '''Please note that Trac 0.9b1 does not work with setuptools version 0.6.''' 13 15 14 16 == Installing a Trac Plugin == … … 42 44 }}} 43 45 44 This works whether your using the [wiki:TracCgi CGI] or the [wiki:TracModPython mod_python] front-end. For [wiki:TracFastCgi FastCGI], you'll need to `-initial-env` option, or whatever is provided by your web server for setting environment variables.46 This works whether your using the [wiki:TracCgi CGI] or the [wiki:TracModPython mod_python] front-end. Put this directive next to where you set the path to the [wiki:TracEnvironment Trac environment], i.e. in the same `<Location>` block. 45 47 46 When using [wiki:TracModPython mod_python] set the `SetEnv PYTHON_EGG_CACHE /path/to/dir` inside the `<Location ></Location>` where you setup [wiki:TracModPython mod_python] on your apache conf. 48 For example (for CGI): 49 {{{ 50 <Location /trac> 51 SetEnv TRAC_ENV /path/to/projenv 52 SetEnv PYTHON_EGG_CACHE /path/to/dir 53 </Location> 54 }}} 55 56 or (for mod_python): 57 {{{ 58 <Location /trac> 59 SetHandler mod_python 60 ... 61 SetEnv PYTHON_EGG_CACHE /path/to/dir 62 </Location> 63 }}} 64 65 For [wiki:TracFastCgi FastCGI], you'll need to `-initial-env` option, or whatever is provided by your web server for setting environment variables. 47 66 48 67 ----