Created
April 19, 2012 05:58
-
-
Save ryan-blunden/2418993 to your computer and use it in GitHub Desktop.
Upgrade pip, virtualenv and virtualenvwrapper on OSX Lion
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 | |
# Upgrade pip, virtualenv, virtualenvwrapper to the latest versions for the current version of python | |
# Ryan Blunden | |
site_packages=`python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"` | |
sudo rm -fr $site_packages/pip-* | |
sudo rm -fr $site_packages/virtualenv-* | |
sudo rm -fr $site_packages/virtualenvwrapper-* | |
sudo easy_install pip | |
sudo easy_install virtualenv | |
sudo easy_install virtualenvwrapper | |
echo "Done!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment