Last change
on this file since 3028 was
2834,
checked in by Sam Hocevar, 15 years ago
|
Change the website name to caca.zoy.org.
|
File size:
977 bytes
|
Line | |
---|
1 | #!/usr/bin/python |
---|
2 | # -*- coding: utf-8 -*- |
---|
3 | # |
---|
4 | # Copyright (C) 2008 Edgewall Software |
---|
5 | # Copyright (C) 2008 Noah Kantrowitz <noah@coderanger.net> |
---|
6 | # All rights reserved. |
---|
7 | # |
---|
8 | # This software is licensed as described in the file COPYING, which |
---|
9 | # you should have received as part of this distribution. The terms |
---|
10 | # are also available at http://trac.edgewall.org/wiki/TracLicense. |
---|
11 | # |
---|
12 | # This software consists of voluntary contributions made by many |
---|
13 | # individuals. For the exact contribution history, see the revision |
---|
14 | # history and logs, available at http://trac.edgewall.org/log/. |
---|
15 | # |
---|
16 | # Author: Noah Kantrowitz <noah@coderanger.net> |
---|
17 | import os |
---|
18 | import tempfile |
---|
19 | |
---|
20 | from trac.web.main import dispatch_request |
---|
21 | import pkg_resources |
---|
22 | |
---|
23 | def application(environ, start_request): |
---|
24 | environ['trac.env_path'] = '/srv/caca.zoy.org/var/lib/trac' |
---|
25 | if 'PYTHON_EGG_CACHE' not in os.environ: |
---|
26 | pkg_resources.set_extraction_path(tempfile.gettempdir()) |
---|
27 | return dispatch_request(environ, start_request) |
---|
Note: See
TracBrowser
for help on using the repository browser.