From 19080d4a072e650124b3a08ce565edd44d1d55ef Mon Sep 17 00:00:00 2001 From: Maikel de Boer Date: Mon, 30 Oct 2017 20:21:06 +0100 Subject: [PATCH] Made the virtualenv optional --- lg.wsgi | 5 +++-- lgproxy.wsgi | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/lg.wsgi b/lg.wsgi index ee6bc46..67df4be 100644 --- a/lg.wsgi +++ b/lg.wsgi @@ -1,7 +1,8 @@ import sys -activate_this = '/path/to/bird-lg/venv/bin/activate_this.py' -execfile(activate_this, dict(__file__=activate_this)) +#Uncomment these two lines if you want to make use of virtualenv +#activate_this = '/path/to/bird-lg/venv/bin/activate_this.py' +#execfile(activate_this, dict(__file__=activate_this)) sys.path.insert(0, '/path/to/bird-lg') diff --git a/lgproxy.wsgi b/lgproxy.wsgi index b63553f..8d4db9a 100644 --- a/lgproxy.wsgi +++ b/lgproxy.wsgi @@ -1,7 +1,8 @@ import sys -activate_this = '/path/to/bird-lg/venv/bin/activate_this.py' -execfile(activate_this, dict(__file__=activate_this)) +#Uncomment these two lines if you want to make use of virtualenv +#activate_this = '/path/to/bird-lg/venv/bin/activate_this.py' +#execfile(activate_this, dict(__file__=activate_this)) sys.path.insert(0, '/path/to/bird-lg')