diff options
-rw-r--r-- | setup.py | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -18,8 +18,16 @@ import os from setuptools import setup, find_packages -from pip.req import parse_requirements -from pip.download import PipSession +#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 pip.download import PipSession +try: # for pip >= 10 + from pip._internal.download import PipSession +except ImportError: # for pip <= 9.0.3 + from pip.download import PipSession setup( name='miss_htbt_service', |