Last active
August 29, 2015 14:23
-
-
Save pestilence669/bc936d42c9ecbb686a06 to your computer and use it in GitHub Desktop.
Upgrade all of my Python 2 & 3 PIP extensions
This file contains hidden or 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
#!/usr/bin/sh | |
# vim: set ts=4 sw=4 noet: | |
# I can't wait for this to be a command-line flag | |
for i in 2 3; do | |
echo "Updating Python $i.x..." | |
pip$i freeze --local | grep -v '^\-e' | cut -d= -f1 | xargs pip$i install -U | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment