Created
June 18, 2014 20:17
-
-
Save tekton/1a6d4959b56bc3b1b775 to your computer and use it in GitHub Desktop.
Ubuntu 14.04 Python 3.4 Virtual Environment
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
#!/bin/bash | |
V_PATH=. | |
VENV=VENV | |
# check for folder path and name... | |
if [ $1 ]; then | |
V_PATH=$1 | |
fi | |
if [ $2 ]; then | |
VENV=$2 | |
fi | |
pyvenv-3.4 $V_PATH/$VENV --without-pip | |
source $V_PATH/$VENV/bin/activate | |
wget https://bootstrap.pypa.io/get-pip.py | |
python get-pip.py | |
deactivate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment