Skip to content

Commit aa02e41

Browse files
committed
upip: Allow to have commented packages in requirements.txt.
1 parent 9b1f010 commit aa02e41

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

upip/upip.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,8 @@ def main():
275275
l = f.readline()
276276
if not l:
277277
break
278+
if l[0] == "#":
279+
continue
278280
to_install.append(l.rstrip())
279281
elif opt == "--debug":
280282
debug = True

0 commit comments

Comments
 (0)