Created
February 23, 2014 01:11
-
-
Save sc68cal/9165149 to your computer and use it in GitHub Desktop.
Python 3 venv bootstrap script
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 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