Skip to content

Instantly share code, notes, and snippets.

@machristie
Created January 22, 2013 02:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save machristie/4591655 to your computer and use it in GitHub Desktop.
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.
#!/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