drop usage of pip internal functions

pip>=10 moved those internal functions to _internal. for python2.7 we can
install futures from extras_require to avoid accessing those internal
functions.
This commit is contained in:
Mengyang Li
2019-01-28 16:19:56 -08:00
parent 8c6c1b3af6
commit 6d45f371cb
2 changed files with 4 additions and 14 deletions
+3 -2
View File
@@ -38,10 +38,11 @@ setup(
cachier=cachier.scripts.cli:cli
''',
install_requires=[
'watchdog', 'portalocker'
'watchdog', 'portalocker',
],
extras_require={
'test': TEST_REQUIRES
'test': TEST_REQUIRES,
':python_version == "2.7"': ['futures'],
},
platforms=['linux', 'osx', 'windows'],
keywords=['cache', 'persistence', 'mongo', 'memoization', 'decorator'],