Change shebang lines to work universally

Using env enables the scripts to run in virtualenv as well as in a
differently named or bare environment.

Signed-off-by: Felix Kaechele <felix@kaechele.ca>
This commit is contained in:
Felix Kaechele 2016-09-17 06:49:23 -07:00
parent b8e38b4d2f
commit 1712f26470
5 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
#!flask/bin/python
#!/usr/bin/env python
from migrate.versioning import api
from config import SQLALCHEMY_DATABASE_URI

View File

@ -1,4 +1,4 @@
#!flask/bin/python
#!/usr/bin/env python
from migrate.versioning import api
from config import SQLALCHEMY_DATABASE_URI
from config import SQLALCHEMY_MIGRATE_REPO

View File

@ -1,4 +1,4 @@
#!flask/bin/python
#!/usr/bin/env python
import imp
from migrate.versioning import api
from app import db

View File

@ -1,4 +1,4 @@
#!flask/bin/python
#!/usr/bin/env python
from migrate.versioning import api
from config import SQLALCHEMY_DATABASE_URI
from config import SQLALCHEMY_MIGRATE_REPO

2
run.py
View File

@ -1,4 +1,4 @@
#!flask/bin/python
#!/usr/bin/env python
from app import app
from config import PORT