-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove bash_profiles from Python frameworks
bash_profile contents placed into install files and setup files for: - API-Hour - Cherrypy - Django
- Loading branch information
1 parent
ec15f3b
commit 8f6f322
Showing
12 changed files
with
60 additions
and
29 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
#!/bin/bash | ||
|
||
export PY3_ROOT=$IROOT/py3 | ||
export PY3=$PY3_ROOT/bin/python | ||
export PY3_PIP=$PY3_ROOT/bin/pip3 | ||
export PY3_API_HOUR=$PY3_ROOT/bin/api_hour | ||
|
||
$PY3_API_HOUR -ac --chdir=hello/ --config_dir=hello/etc/hello/ hello:Container & |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
#!/bin/bash | ||
|
||
export PY2_ROOT=$IROOT/py2 | ||
export PY2=$PY2_ROOT/bin/python | ||
export PY2_PIP=$PY2_ROOT/bin/pip | ||
|
||
$PY2 app.py & |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
#!/bin/bash | ||
|
||
export PY3_ROOT=$IROOT/py3 | ||
export PY3=$PY3_ROOT/bin/python3 | ||
export PY3_PIP=$PY3_ROOT/bin/pip3 | ||
|
||
$PY3 app.py & |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,25 @@ | ||
#!/bin/bash | ||
|
||
export PY2_ROOT=$IROOT/py2 | ||
export PY2=$PY2_ROOT/bin/python | ||
export PY2_PIP=$PY2_ROOT/bin/pip | ||
export PY2_GUNICORN=$PY2_ROOT/bin/gunicorn | ||
|
||
export PYPY_ROOT=$IROOT/pypy | ||
export PYPY=$PYPY_ROOT/bin/python | ||
export PYPY_PIP=$PYPY_ROOT/bin/pip | ||
export PYPY_GUNICORN=$PYPY_ROOT/bin/gunicorn | ||
|
||
export PY3_ROOT=$IROOT/py3 | ||
export PY3=$PY3_ROOT/bin/python | ||
export PY3_PIP=$PY3_ROOT/bin/pip3 | ||
export PY3_GUNICORN=$PY3_ROOT/bin/gunicorn | ||
|
||
mkdir -p $IROOT/.pip_cache | ||
export PIP_DOWNLOAD_CACHE=$IROOT/.pip_cache | ||
|
||
fw_depends python2 python3 | ||
|
||
$IROOT/py2/bin/pip install --install-option="--prefix=${IROOT}/py2" -r $TROOT/requirements.txt | ||
|
||
$IROOT/py3/bin/pip3 install --install-option="--prefix=${IROOT}/py3" -r $TROOT/requirements.txt | ||
$IROOT/py3/bin/pip3 install --install-option="--prefix=${IROOT}/py3" -r $TROOT/requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
#!/bin/bash | ||
|
||
$PY2_GUNICORN --pid=gunicorn.pid hello.wsgi:application -c gunicorn_conf.py --env DJANGO_DB=mysql & | ||
export PY2_ROOT=$IROOT/py2 | ||
export PY2=$PY2_ROOT/bin/python | ||
export PY2_PIP=$PY2_ROOT/bin/pip | ||
export PY2_GUNICORN=$PY2_ROOT/bin/gunicorn | ||
|
||
$PY2_GUNICORN --pid=gunicorn.pid hello.wsgi:application -c gunicorn_conf.py --env DJANGO_DB=mysql & |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
#!/bin/bash | ||
|
||
$PY2_GUNICORN --pid=gunicorn.pid hello.wsgi:application -c gunicorn_conf.py --env DJANGO_DB=postgresql_psycopg2 & | ||
export PY2_ROOT=$IROOT/py2 | ||
export PY2=$PY2_ROOT/bin/python | ||
export PY2_PIP=$PY2_ROOT/bin/pip | ||
export PY2_GUNICORN=$PY2_ROOT/bin/gunicorn | ||
|
||
$PY2_GUNICORN --pid=gunicorn.pid hello.wsgi:application -c gunicorn_conf.py --env DJANGO_DB=postgresql_psycopg2 & |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
#!/bin/bash | ||
|
||
$PY3_GUNICORN --pid=gunicorn.pid hello.wsgi:application -c gunicorn_conf.py --env DJANGO_DB=mysql & | ||
export PY3_ROOT=$IROOT/py3 | ||
export PY3=$PY3_ROOT/bin/python | ||
export PY3_PIP=$PY3_ROOT/bin/pip3 | ||
export PY3_GUNICORN=$PY3_ROOT/bin/gunicorn | ||
|
||
$PY3_GUNICORN --pid=gunicorn.pid hello.wsgi:application -c gunicorn_conf.py --env DJANGO_DB=mysql & |