From aa02e41056e88166433187029b2df8917bd6666e Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Mon, 1 May 2017 00:02:33 +0300 Subject: [PATCH] upip: Allow to have commented packages in requirements.txt. --- upip/upip.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/upip/upip.py b/upip/upip.py index 0070fd61..a156340b 100644 --- a/upip/upip.py +++ b/upip/upip.py @@ -275,6 +275,8 @@ def main(): l = f.readline() if not l: break + if l[0] == "#": + continue to_install.append(l.rstrip()) elif opt == "--debug": debug = True