Changes between Version 56 and Version 57 of TracModWSGI
- Timestamp:
- Mar 14, 2014, 12:32:35 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracModWSGI
v56 v57 25 25 The `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. 26 26 On Windows, the Python Egg cache can be found in `%AppData%\Roaming`, for example: 27 {{{ 28 os.environ['PYTHON_EGG_CACHE'] = r'C:\Users\Administrator\AppData\Roaming\Python-Eggs\trac-1.0-py2.7-win32.egg-tmp\trac'27 {{{#!python 28 os.environ['PYTHON_EGG_CACHE'] = 'C:\Users\Administrator\AppData\Roaming\Python-Eggs\trac-1.0-py2.7-win32.egg-tmp\trac' 29 29 }}} 30 30 … … 394 394 But it's not necessary to edit the source of Trac, the following lines in `trac.wsgi` will also work: 395 395 396 {{{ 396 {{{#!python 397 397 import trac.db.postgres_backend 398 398 trac.db.postgres_backend.PostgreSQLConnection.poolable = False … … 401 401 or 402 402 403 {{{ 403 {{{#!python 404 404 import trac.db.mysql_backend 405 405 trac.db.mysql_backend.MySQLConnection.poolable = False