Skip to content

Instantly share code, notes, and snippets.

@sc68cal
Created February 23, 2014 01:11
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 sc68cal/9165149 to your computer and use it in GitHub Desktop.
Save sc68cal/9165149 to your computer and use it in GitHub Desktop.
Python 3 venv bootstrap script
#!/bin/sh
# Create the virtual environment
python3 -m venv .venv
# Activate the virtual environment
source .venv/bin/activate
# Install setuptools and pip
curl -O https://pypi.python.org/packages/source/s/setuptools/setuptools-1.1.6.tar.gz
tar xvzf setuptools-1.1.6.tar.gz
cd setuptools-1.1.6
python ez_setup.py
easy_install pip
# Cleanup
rm -r setuptools*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment