Skip to content

Instantly share code, notes, and snippets.

@brianpeiris
Created February 7, 2013 04:11
Show Gist options
  • Save brianpeiris/4728424 to your computer and use it in GitHub Desktop.
Save brianpeiris/4728424 to your computer and use it in GitHub Desktop.
Powershell script for installing pip.
(new-object net.webclient).downloadfile('http://python-distribute.org/distribute_setup.py', "$pwd\distribute_setup.py")
python .\distribute_setup.py
(new-object net.webclient).downloadfile('https://raw.github.com/pypa/pip/master/contrib/get-pip.py', "$pwd\get-pip.py")
python .\get-pip.py
rm distribute-*.gz
rm distribute_setup.py
rm get-pip.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment