Created
July 9, 2012 17:50
-
-
Save pau/3077876 to your computer and use it in GitHub Desktop.
Upgrade All PyPI Packages
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
# pip freeze to list packages | |
# grep -v '\-e' to exclude packages in edit mode | |
# cut -d= -f1 to get the package name only | |
# xargs pip install -U to upgrade all packages | |
$ pip freeze | grep -v '\-e' | cut -d= -f1 | xargs pip install -U |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment