SHA256
1
0
forked from pool/aws-cli
aws-cli/hide_py_pckgmgmt.patch
2019-10-14 18:16:20 +00:00

77 lines
2.7 KiB
Diff

--- setup.py.orig 2019-10-11 20:12:23.000000000 +0200
+++ setup.py 2019-10-14 14:42:54.622237116 +0200
@@ -23,30 +23,30 @@
raise RuntimeError("Unable to find version string.")
-install_requires = ['botocore==1.12.248',
- '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.12.248',
+# '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',