Created
January 25, 2017 18:10
-
-
Save tsaavik/592b618d2c666f7f5a28c781b0eac87b to your computer and use it in GitHub Desktop.
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
#setup my_project via venv | |
proj_path="/usr/local/scripts/my_project/" | |
venv_path="${proj_path}/venv" | |
if [[ ! -d ${venv_path} ]] ;then | |
echo "Installing virtualenv ..." | |
virtualenv ${venv_path} | |
source ${venv_path}/bin/activate | |
pip install -r ${proj_path}/dependencies.txt | |
# Following 2 lines only needed if exporting libs | |
#cd ${proj_path} | |
#python setup.py sdist | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment