import os import trac web main os environ TRAC_ENV var www trac tunnel

1
2
3
4
5
6
7
import os
import trac.web.main
os.environ['TRAC_ENV'] = '/var/www/trac/tunnel'
os.environ['PYTHON_EGG_CACHE'] = '/var/www/trac/tunne/eggs'
application = trac.web.main.dispatch_request