haldis/app/passenger_wsgi.py

13 lines
231 B
Python
Raw Normal View History

2015-03-31 18:15:22 +00:00
#!/usr/bin/env python
import sys
import os
INTERP = os.path.expanduser("~/env/bin/python")
if sys.executable != INTERP:
os.execl(INTERP, INTERP, *sys.argv)
sys.path.append(os.getcwd())
2015-04-03 16:51:19 +00:00
from haldis import app as application