From c29abe53876f55e96e54f0270d02bdf3fd34cc53 Mon Sep 17 00:00:00 2001 From: Vadim Kravcenko Date: Fri, 4 Dec 2015 21:04:59 +0100 Subject: [PATCH] fix(pipreqs.py): clarify about proxy environment variables --- pipreqs/pipreqs.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pipreqs/pipreqs.py b/pipreqs/pipreqs.py index 02ec8f4..745aac5 100755 --- a/pipreqs/pipreqs.py +++ b/pipreqs/pipreqs.py @@ -4,11 +4,13 @@ Usage: pipreqs [options] - Options: --use-local Use ONLY local package info instead of querying PyPI --pypi-server Use custom PyPi server - --proxy Use Proxy, parameter will be passed to requests library + --proxy Use Proxy, parameter will be passed to requests library. You can also just set the + environments parameter in your terminal: + $ export HTTP_PROXY="http://10.10.1.10:3128" + $ export HTTPS_PROXY="http://10.10.1.10:1080" --debug Print debug information --encoding Use encoding parameter for file open --savepath Save the list of requirements in the given file