aws-cli/hide_py_pckgmgmt.patch
2019-12-05 14:17:02 +00:00

77 lines
2.7 KiB
Diff

--- setup.py.orig 2019-12-05 02:29:27.000000000 +0100
+++ setup.py 2019-12-05 15:00:13.566501035 +0100
@@ -23,30 +23,30 @@
raise RuntimeError("Unable to find version string.")
-install_requires = ['botocore==1.13.33',
- 'docutils>=0.10,<0.16',
- 'rsa>=3.1.2,<=3.5.0',
- 's3transfer>=0.2.0,<0.3.0']
-
-
-if sys.version_info[:2] == (2, 6):
- # For python2.6 we have to require argparse since it
- # was not in stdlib until 2.7.
- install_requires.append('argparse>=1.1')
-
- # For Python 2.6, we have to require a different verion of PyYAML since the latest
- # versions dropped support for Python 2.6.
- install_requires.append('PyYAML>=3.10,<=3.13')
-
- # Colorama removed support for EOL pythons.
- install_requires.append('colorama>=0.2.5,<=0.3.9')
-elif sys.version_info[:2] == (3, 3):
- install_requires.append('PyYAML>=3.10,<=3.13')
- # Colorama removed support for EOL pythons.
- install_requires.append('colorama>=0.2.5,<=0.3.9')
-else:
- install_requires.append('PyYAML>=3.10,<5.2')
- install_requires.append('colorama>=0.2.5,<0.4.2')
+# install_requires = ['botocore==1.13.33',
+# 'docutils>=0.10,<0.16',
+# 'rsa>=3.1.2,<=3.5.0',
+# 's3transfer>=0.2.0,<0.3.0']
+
+
+# if sys.version_info[:2] == (2, 6):
+# # For python2.6 we have to require argparse since it
+# # was not in stdlib until 2.7.
+# install_requires.append('argparse>=1.1')
+
+# # For Python 2.6, we have to require a different verion of PyYAML since the latest
+# # versions dropped support for Python 2.6.
+# install_requires.append('PyYAML>=3.10,<=3.13')
+
+# # Colorama removed support for EOL pythons.
+# install_requires.append('colorama>=0.2.5,<=0.3.9')
+# elif sys.version_info[:2] == (3, 3):
+# install_requires.append('PyYAML>=3.10,<=3.13')
+# # Colorama removed support for EOL pythons.
+# install_requires.append('colorama>=0.2.5,<=0.3.9')
+# else:
+# install_requires.append('PyYAML>=3.10,<5.2')
+# install_requires.append('colorama>=0.2.5,<0.4.2')
setup_options = dict(
@@ -64,12 +64,12 @@
'examples/*/*.txt', 'examples/*/*/*.txt',
'examples/*/*/*.rst', 'topics/*.rst',
'topics/*.json']},
- install_requires=install_requires,
- extras_require={
- ':python_version=="2.6"': [
- 'argparse>=1.1',
- ]
- },
+ # install_requires=install_requires,
+ # extras_require={
+ # ':python_version=="2.6"': [
+ # 'argparse>=1.1',
+ # ]
+ # },
license="Apache License 2.0",
classifiers=[
'Development Status :: 5 - Production/Stable',