Skip to content

Commit

Permalink
Merge 066c53f into 3b03ec3
Browse files Browse the repository at this point in the history
  • Loading branch information
gabyfle committed Apr 13, 2020
2 parents 3b03ec3 + 066c53f commit cb376f4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
from io import open
import os
import setuptools
try: # for pip >= 10
# This is not recommanded by the development team. You should change the way you parse requirements
try: # for pip >= 20
from pip._internal.req import parse_requirements
from pip._internal.download import PipSession
from pip._internal.network.session import PipSession # this should fix installation problems for pip>=20
except ImportError: # for pip <= 9.0.3
from pip.req import parse_requirements
from pip.download import PipSession
Expand Down

0 comments on commit cb376f4

Please sign in to comment.