Changes between Version 3 and Version 4 of TracPlugins
- Timestamp:
- 20/07/2009 15:23:50 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracPlugins
v3 v4 98 98 == Setting up the Plugin Cache == 99 99 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.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 '.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. 101 101 102 102 To do this from the Apache configuration, use the `SetEnv` directive as follows: … … 120 120 SetHandler mod_python 121 121 ... 122 PythonOptionPYTHON_EGG_CACHE /path/to/dir122 SetEnv PYTHON_EGG_CACHE /path/to/dir 123 123 </Location> 124 124 }}}