Skip to content

Commit

Permalink
Merge pull request #82 from khudyakovavi/issue-80
Browse files Browse the repository at this point in the history
ISSUE-80 Added pip==10.0 compatibility
  • Loading branch information
stphivos authored Apr 19, 2018
2 parents 751d8d2 + b2dc68f commit 1a89d19
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
from distutils.core import setup
from pip.req import parse_requirements
try:
from pip._internal.req import parse_requirements
except ImportError:
from pip.req import parse_requirements


install_req = parse_requirements('requirements/core.txt', session='skip')
req = [str(ir.req) for ir in install_req]
Expand Down

0 comments on commit 1a89d19

Please sign in to comment.