Skip to content

Commit

Permalink
Merge pull request #9 from AnActualBear/patch-1
Browse files Browse the repository at this point in the history
Import changes for pip 10
  • Loading branch information
leovp committed Jun 2, 2018
2 parents f625678 + 618dd0e commit e2264d0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import os
import setuptools
from pip.req import parse_requirements
from pip.download import PipSession
try: # for pip >= 10
from pip._internal.req import parse_requirements
from pip._internal.download import PipSession
except ImportError: # for pip <= 9.0.3
from pip.req import parse_requirements
from pip.download import PipSession


def read(fname):
Expand Down

0 comments on commit e2264d0

Please sign in to comment.