Edgewall Software

Changes between Version 54 and Version 55 of TracModWSGI


Ignore:
Timestamp:
Mar 14, 2014, 10:58:06 AM (10 years ago)
Author:
anonymous
Comment:

Added information on windows script

Legend:

Unmodified
Added
Removed
Modified
  • TracModWSGI

    v54 v55  
    2424
    2525The `TRAC_ENV` variable should naturally be the directory for your Trac environment (if you have several Trac environments in a directory, you can also use `TRAC_ENV_PARENT_DIR` instead), while the `PYTHON_EGG_CACHE` should be a directory where Python can temporarily extract Python eggs.
     26On Windows, the Python Egg cache can be found in `%AppData%\Roaming`, for example:
     27{{{
     28os.environ['PYTHON_EGG_CACHE'] = 'C:\\Users\\Administrator\\AppData\\Roaming\\Python-Eggs\\trac-1.0-py2.7-win32.egg-tmp\\trac\\'
     29}}}
     30
     31Note that Windows paths use back-slashes which need to be escaped in python strings.
    2632
    2733=== A more elaborate script