Skip to content

Commit

Permalink
fix for newer versions of pip
Browse files Browse the repository at this point in the history
  • Loading branch information
jabuchae committed Feb 26, 2019
1 parent 741f445 commit 79ec052
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 79ec052

Please sign in to comment.