mirror of
https://github.com/sileht/bird-lg.git
synced 2024-11-16 20:34:42 +01:00
Made the virtualenv optional
This commit is contained in:
parent
a61151de2e
commit
19080d4a07
5
lg.wsgi
5
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')
|
||||
|
||||
|
|
|
@ -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')
|
||||
|
||||
|
|
Loading…
Reference in a new issue