Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Now with virtualenvwrapper goodness
# 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