Last active
July 1, 2017 09:02
-
-
Save Alex-Just/2042da27c7ca5faa07ef91c17e2f2bcd to your computer and use it in GitHub Desktop.
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
# Upgrading all packages with pip | |
pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U | |
# Pip freeze for only project requirements.txt | |
pip freeze -r requirements.txt | grep -B100 "pip freeze" | grep -v "pip freeze" > /tmp/requirements.txt && mv /tmp/requirements.txt . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment