From f70827abe6051fd26ca055af13b2e4890994e491 Mon Sep 17 00:00:00 2001 From: Vineet Naik Date: Mon, 3 Aug 2015 21:21:08 +0530 Subject: [PATCH] Update README --- README.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.rst b/README.rst index 00881bc..67f2f6b 100644 --- a/README.rst +++ b/README.rst @@ -151,6 +151,12 @@ lost. To fix this, ``pipdeptree`` must be run with a ``-f`` or $ pipdeptree -f --nowarn | grep -P '^[\w0-9\-=.]+' > requirements.txt +The freeze flag will also not output the hyphens for child +dependencies, so you could dump the complete output of ``pipdeptree +-f`` to the requirements.txt file making the file human-friendly (due +to indentations) as well as pip-friendly. (Take care of duplicate +dependencies though) + Usage -----