Skip to content

Commit

Permalink
simplified setup.py for new pip version
Browse files Browse the repository at this point in the history
  • Loading branch information
daryadedik committed Apr 23, 2018
1 parent b0b4d22 commit bd641ab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions setup.py
Expand Up @@ -9,8 +9,7 @@ def parse_requirements(filename):
return [line for line in lineiter if line and not line.startswith("#")]

try:
install_reqs = parse_requirements('requirements.txt')
requirements = install_reqs
requirements = parse_requirements('requirements.txt')
except OSError:
requirements = []

Expand Down

0 comments on commit bd641ab

Please sign in to comment.