Created
January 22, 2013 02:45
-
-
Save machristie/4591655 to your computer and use it in GitHub Desktop.
A shell script to bootstrap a Python 3 virtual environment with distribute and pip.
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/sh | |
# Create Python virtual environment | |
pyvenv $1 | |
# install distribute and pip | |
curl -O http://python-distribute.org/distribute_setup.py | |
$1/bin/python distribute_setup.py | |
$1/bin/easy_install pip | |
# Clean up | |
rm distribute* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment