mirror of https://github.com/cheat/cheat.git
Merge pull request #337 from VHarisop/pip_latest
Updated pip sheet with upgrade for newer versions
This commit is contained in:
commit
7089bef7cc
|
@ -23,5 +23,8 @@ pip list --outdated
|
||||||
# Upgrade all outdated packages, thanks to http://stackoverflow.com/a/3452888
|
# Upgrade all outdated packages, thanks to http://stackoverflow.com/a/3452888
|
||||||
pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U
|
pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U
|
||||||
|
|
||||||
|
# Upgrade outdated packages on latest version of pip
|
||||||
|
pip list --outdated --format=freeze | cut -d = -f 1 | xargs -n1 pip install -U
|
||||||
|
|
||||||
# Install specific version of a package
|
# Install specific version of a package
|
||||||
pip install -I SomePackage1==1.1.0 'SomePackage2>=1.0.4'
|
pip install -I SomePackage1==1.1.0 'SomePackage2>=1.0.4'
|
||||||
|
|
Loading…
Reference in New Issue