A simple Python Flask bootstrapper
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

8 lines
227 B

import sys, os # noqa
INTERP = '/home/<username>/<websitefolder>/env/bin/python'
if sys.executable != INTERP:
os.execl(INTERP, INTERP, *sys.argv)
sys.path.append(os.getcwd())
from launcher import app as application # noqa