1
0
Fork 0
mirror of https://github.com/sileht/bird-lg.git synced 2024-12-22 20:44:43 +01:00

Updated wsgi files to work with Python Virtualenv. Added requirements.txt.

This commit is contained in:
Maikel de Boer 2017-10-30 20:12:11 +01:00
parent a745a13267
commit a61151de2e
3 changed files with 20 additions and 8 deletions

View file

@ -1,8 +1,8 @@
import sys
import os
sitepath = os.path.realpath(os.path.dirname(__file__))
sys.path.insert(0, sitepath)
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')
from lg import app as application

View file

@ -1,8 +1,8 @@
import sys
import os
sitepath = os.path.realpath(os.path.dirname(__file__))
sys.path.insert(0, sitepath)
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')
from lgproxy import app as application

12
requirements.txt Normal file
View 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