Browse Source

added a line to configure the egg cache directory where necessary. see http://forum.ubuntuusers.de/post/1976518/

Natenom/support-murmur-13-1446181288462
Michael Ziegler 16 years ago
parent
commit
672653bbeb
  1. 8
      mumble-django.wsgi

8
mumble-django.wsgi

@ -16,6 +16,14 @@ sys.path.append( MUMBLE_DJANGO_ROOT )
sys.path.append( join( MUMBLE_DJANGO_ROOT, 'pyweb' ) )
os.environ['DJANGO_SETTINGS_MODULE'] = 'pyweb.settings'
# If you get an error about Python not being able to write to the Python
# egg cache, the egg cache path might be set awkwardly. This should not
# happen under normal circumstances, but every now and then, it does.
# Uncomment this line to point the egg cache to /tmp.
#os.environ['PYTHON_EGG_CACHE'] = '/tmp/pyeggs'
# WSGI handler
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()

Loading…
Cancel
Save