Skip to content

Commit

Permalink
Make it pip10 compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
pabloariasperez committed Apr 17, 2018
1 parent f978a22 commit 54101f5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
import re
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

from setuptools import setup, find_packages


Expand Down

0 comments on commit 54101f5

Please sign in to comment.