Created
August 16, 2012 11:04
-
-
Save SalemHarrache/3369303 to your computer and use it in GitHub Desktop.
Pip management
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
# Output outdated packages | |
pip freeze | cut -d = -f 1 | xargs -n 1 pip search | grep -B2 'LATEST:' | |
# Upgrade all outdated packages | |
pip freeze | cut -d = -f 1 | xargs echo pip install -U |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment