Edgewall Software

Changes between Version 55 and Version 56 of TracModWSGI


Ignore:
Timestamp:
Mar 14, 2014, 11:11:23 AM (10 years ago)
Author:
Jun Omae
Comment:

It'd simple to use raw strings.

Legend:

Unmodified
Added
Removed
Modified
  • TracModWSGI

    v55 v56  
    2626On Windows, the Python Egg cache can be found in `%AppData%\Roaming`, for example:
    2727{{{
    28 os.environ['PYTHON_EGG_CACHE'] = 'C:\\Users\\Administrator\\AppData\\Roaming\\Python-Eggs\\trac-1.0-py2.7-win32.egg-tmp\\trac\\'
    29 }}}
    30 
    31 Note that Windows paths use back-slashes which need to be escaped in python strings.
     28os.environ['PYTHON_EGG_CACHE'] = r'C:\Users\Administrator\AppData\Roaming\Python-Eggs\trac-1.0-py2.7-win32.egg-tmp\trac'
     29}}}
    3230
    3331=== A more elaborate script