Changes between Version 1 and Version 2 of TracPlugins


Ignore:
Timestamp:
05/04/09 16:01:29 (11 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracPlugins

    v1 v2  
    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}}}