haldis/app/passenger_wsgi.py
2015-04-03 18:51:19 +02:00

12 lines
231 B
Python

#!/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())
from haldis import app as application