Skip to content

Commit

Permalink
Merge pull request #34 from EvolveGlobal/jabu/pip-req-for-newer-versions
Browse files Browse the repository at this point in the history
fix for newer versions of pip
  • Loading branch information
acangiani authored Feb 26, 2019
2 parents f9b866e + 79ec052 commit d23f133
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
use_setuptools()
from setuptools import setup, find_packages

from pip.req import parse_requirements
try: # for pip >= 10
from pip._internal.req import parse_requirements
except ImportError: # for pip <= 9.0.3
from pip.req import parse_requirements


with open('README.md') as readme_file:
Expand Down

0 comments on commit d23f133

Please sign in to comment.