From b2e1400bb68dd35a20eb1454e072e3bf0fc9bf86 Mon Sep 17 00:00:00 2001 From: Kai KANG Date: Tue, 2 Jun 2015 07:30:34 +0800 Subject: [PATCH] Update pip: dealing with requirement files add `pip freeze > requirements.txt` and `pip install -r requirements.txt`. --- cheat/cheatsheets/pip | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cheat/cheatsheets/pip b/cheat/cheatsheets/pip index 0894962..edc122c 100644 --- a/cheat/cheatsheets/pip +++ b/cheat/cheatsheets/pip @@ -4,6 +4,10 @@ pip search SomePackage # Install some packages 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 pip show SomePackage