Update pip: dealing with requirement files

add `pip freeze > requirements.txt` and `pip install -r requirements.txt`.
This commit is contained in:
Kai KANG 2015-06-02 07:30:34 +08:00
parent 30a49d3596
commit b2e1400bb6

View File

@ -4,6 +4,10 @@ pip search SomePackage
# Install some packages # Install some packages
pip install SomePackage pip install SomePackage
# Output and install packages in a requirement file
pip freeze > requirements.txt
pip install -r requirements.txt
# Show details of a package # Show details of a package
pip show SomePackage pip show SomePackage