python-s3transfer/hide_py_pckgmgmt.patch

35 lines
978 B
Diff
Raw Normal View History

--- setup.py.orig
+++ setup.py
@@ -10,15 +10,15 @@ ROOT = os.path.dirname(__file__)
VERSION_RE = re.compile(r'''__version__ = ['"]([0-9.]+)['"]''')
-requires = [
- 'botocore>=1.3.0,<2.0.0',
-]
+#requires = [
+# 'botocore>=1.3.0,<2.0.0',
+#]
-if sys.version_info[0] == 2:
- # concurrent.futures is only in python3, so for
- # python2 we need to install the backport.
- requires.append('futures>=2.2.0,<4.0.0')
+#if sys.version_info[0] == 2:
+# # concurrent.futures is only in python3, so for
+# # python2 we need to install the backport.
+# requires.append('futures>=2.2.0,<4.0.0')
def get_version():
@@ -36,7 +36,7 @@ setup(
url='https://github.com/boto/s3transfer',
packages=find_packages(exclude=['tests*']),
include_package_data=True,
- install_requires=requires,
+# install_requires=requires,
extras_require={
':python_version=="2.6" or python_version=="2.7"': [
'futures>=2.2.0,<4.0.0']