SHA256
1
0
forked from pool/aws-cli
aws-cli/hide_py_pckgmgmt.patch
2019-06-28 13:12:19 +00:00

63 lines
2.0 KiB
Diff

--- setup.py.orig 2019-06-27 20:24:53.000000000 +0200
+++ setup.py 2019-06-28 14:32:23.056466861 +0200
@@ -23,23 +23,23 @@
raise RuntimeError("Unable to find version string.")
-requires = ['botocore==1.12.179',
- 'colorama>=0.2.5,<=0.3.9',
- 'docutils>=0.10',
- '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.
- 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.
- requires.append('PyYAML>=3.10,<=3.13')
-else:
- requires.append('PyYAML>=3.10,<=5.1')
+# requires = ['botocore==1.12.179',
+# 'colorama>=0.2.5,<=0.3.9',
+# 'docutils>=0.10',
+# '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.
+# 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.
+# requires.append('PyYAML>=3.10,<=3.13')
+# else:
+# requires.append('PyYAML>=3.10,<=5.1')
setup_options = dict(
@@ -56,12 +56,12 @@
package_data={'awscli': ['data/*.json', 'examples/*/*.rst',
'examples/*/*/*.rst', 'topics/*.rst',
'topics/*.json']},
- install_requires=requires,
- extras_require={
- ':python_version=="2.6"': [
- 'argparse>=1.1',
- ]
- },
+ # install_requires=requires,
+ # extras_require={
+ # ':python_version=="2.6"': [
+ # 'argparse>=1.1',
+ # ]
+ # },
license="Apache License 2.0",
classifiers=[
'Development Status :: 5 - Production/Stable',