Edgewall Software

Changes between Version 5 and Version 6 of TracPlugins


Ignore:
Timestamp:
Sep 14, 2005, 1:56:10 PM (19 years ago)
Author:
Christopher Lenz
Comment:

Clarification

Legend:

Unmodified
Added
Removed
Modified
  • TracPlugins

    v5 v6  
    1111$ python ez_setup.py setuptools==0.5a13
    1212}}}
     13
     14'''Please note that Trac 0.9b1 does not work with setuptools version 0.6.'''
    1315
    1416== Installing a Trac Plugin ==
     
    4244}}}
    4345
    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.
     46This 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.
    4547
    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.
     48For 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
     56or (for mod_python):
     57{{{
     58 <Location /trac>
     59   SetHandler mod_python
     60   ...
     61   SetEnv PYTHON_EGG_CACHE /path/to/dir
     62 </Location>
     63}}}
     64
     65For [wiki:TracFastCgi FastCGI], you'll need to `-initial-env` option, or whatever is provided by your web server for setting environment variables.
    4766
    4867----