Changes between Version 2 and Version 3 of TracPlugins

Show
Ignore:
Timestamp:
08/11/09 08:16:13 (12 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracPlugins

    v2 v3  
    9898== Setting up the Plugin Cache == 
    9999 
    100 Some plugins will need to be extracted by the Python eggs runtime (`pkg_resources`), so that their contents are actual files on the file system. The directory in which they are extracted defaults to the home directory of the current user, which may or may not be a problem. You can however override the default location using the `PYTHON_EGG_CACHE` environment variable. 
     100Some plugins will need to be extracted by the Python eggs runtime (`pkg_resources`), so that their contents are actual files on the file system. The directory in which they are extracted defaults to '.python-eggs' in the home directory of the current user, which may or may not be a problem. You can however override the default location using the `PYTHON_EGG_CACHE` environment variable. 
    101101 
    102102To do this from the Apache configuration, use the `SetEnv` directive as follows: 
     
    120120   SetHandler mod_python 
    121121   ... 
    122    PythonOption PYTHON_EGG_CACHE /path/to/dir 
     122   SetEnv PYTHON_EGG_CACHE /path/to/dir 
    123123 </Location> 
    124124}}}