Commit 2a7901fe486e9a6f29060c5c2f43310c520c630a
1 parent
074c6ae0
Exists in
master
and in
39 other branches
Ignored empty requirements from parser
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
setup.py
| @@ -2,7 +2,8 @@ | @@ -2,7 +2,8 @@ | ||
| 2 | from setuptools import setup, find_packages | 2 | from setuptools import setup, find_packages |
| 3 | from pip.req import parse_requirements | 3 | from pip.req import parse_requirements |
| 4 | 4 | ||
| 5 | -reqs = [str(req.req) for req in parse_requirements('requirements.txt') if req] | 5 | +reqs = [str(req.req) for req in parse_requirements('requirements.txt') |
| 6 | + if req.req] | ||
| 6 | 7 | ||
| 7 | 8 | ||
| 8 | EXCLUDE_FROM_PACKAGES = [] | 9 | EXCLUDE_FROM_PACKAGES = [] |