Skip to content

Commit

Permalink
Fixes for pip 10
Browse files Browse the repository at this point in the history
  • Loading branch information
rgerkin committed May 7, 2018
1 parent adf7793 commit 95484cb
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
Expand Up @@ -3,8 +3,12 @@
import sys
import os

from pip.req import parse_requirements
from pip.download import PipSession
try:
from pip.req import parse_requirements
from pip.download import PipSession
except ImportError:
from pip._internal.req import parse_requirements
from pip._internal.download import PipSession

from setuptools import setup, find_packages

Expand Down

0 comments on commit 95484cb

Please sign in to comment.