Created
January 20, 2013 12:49
-
-
Save rob-smallshire/4578413 to your computer and use it in GitHub Desktop.
A shell script to create a new Python 3.3 virtualenv, and then download and install distribute and pip into it.
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 | |
# Create a new Python 3.3 venv and configure it with pip | |
# Usage: source path/to/mkvenv <path> | |
set -e | |
pyvenv $1 | |
cd $1 | |
source bin/activate | |
curl -O http://python-distribute.org/distribute_setup.py | |
python distribute_setup.py | |
easy_install pip | |
rm distribute_setup.py | |
rm distribute-*.tar.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment