From 672653bbebb9945626ffa5ed265009102c77502c Mon Sep 17 00:00:00 2001 From: Michael Ziegler Date: Thu, 14 May 2009 10:24:12 +0200 Subject: [PATCH] added a line to configure the egg cache directory where necessary. see http://forum.ubuntuusers.de/post/1976518/ --- mumble-django.wsgi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/mumble-django.wsgi b/mumble-django.wsgi index 92fe729..e10a525 100644 --- a/mumble-django.wsgi +++ b/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()