mirror of
https://github.com/sileht/bird-lg.git
synced 2024-11-16 20:34:42 +01:00
Updated wsgi files to work with Python Virtualenv. Added requirements.txt.
This commit is contained in:
parent
a745a13267
commit
a61151de2e
8
lg.wsgi
8
lg.wsgi
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import os
|
|
||||||
|
|
||||||
sitepath = os.path.realpath(os.path.dirname(__file__))
|
activate_this = '/path/to/bird-lg/venv/bin/activate_this.py'
|
||||||
sys.path.insert(0, sitepath)
|
execfile(activate_this, dict(__file__=activate_this))
|
||||||
|
|
||||||
|
sys.path.insert(0, '/path/to/bird-lg')
|
||||||
|
|
||||||
from lg import app as application
|
from lg import app as application
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import os
|
|
||||||
|
|
||||||
sitepath = os.path.realpath(os.path.dirname(__file__))
|
activate_this = '/path/to/bird-lg/venv/bin/activate_this.py'
|
||||||
sys.path.insert(0, sitepath)
|
execfile(activate_this, dict(__file__=activate_this))
|
||||||
|
|
||||||
|
sys.path.insert(0, '/path/to/bird-lg')
|
||||||
|
|
||||||
from lgproxy import app as application
|
from lgproxy import app as application
|
||||||
|
|
12
requirements.txt
Normal file
12
requirements.txt
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
click==6.7
|
||||||
|
dnspython==1.15.0
|
||||||
|
Flask==0.12.2
|
||||||
|
itsdangerous==0.24
|
||||||
|
Jinja2==2.9.6
|
||||||
|
MarkupSafe==1.0
|
||||||
|
pydot==1.2.3
|
||||||
|
pymemcache==1.4.3
|
||||||
|
pyparsing==2.2.0
|
||||||
|
python-memcached==1.58
|
||||||
|
six==1.11.0
|
||||||
|
Werkzeug==0.12.2
|
Loading…
Reference in a new issue