Changes between Version 3 and Version 4 of TracPlugins


Ignore:
Timestamp:
20/07/2009 15:23:50 (15 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracPlugins

    v3 v4  
    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}}}