endorsement/passenger_wsgi.py
2018-11-28 14:24:32 +01:00

12 lines
236 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 endorsement import app as application