haldis/app/passenger_wsgi.py
2015-04-02 12:59:55 +02:00

12 lines
230 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 james import app as application