-
-
Save winhamwr/313795 to your computer and use it in GitHub Desktop.
Now with virtualenvwrapper goodness
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
# Install virtualenv | |
sudo pip install virtualenv | |
# Install virtualenvwrapper | |
sudo pip install virtualenvwrapper | |
# Configure virtualenvwrapper | |
echo "export WORKON_HOME=$HOME/.virtualenvs" | tee -a ~/.bashrc | |
echo "source /usr/local/bin/virtualenvwrapper_bashrc" | tee -a ~/.bashrc | |
source ~/.bashrc | |
# Create the virtual environment and switch to it | |
mkvirtualenv sandbox | |
# Play around with Python inside the new 'sandbox' | |
python | |
# Build and install my code in the sandbox: | |
python setup.py build install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment