SHA256
1
0
forked from pool/aws-cli
aws-cli/hide_py_pckgmgmt.patch
2019-08-22 13:51:27 +00:00

63 lines
2.0 KiB
Diff

--- setup.py.orig 2019-08-21 20:20:11.000000000 +0200
+++ setup.py 2019-08-22 15:09:23.121269602 +0200
@@ -23,23 +23,23 @@
raise RuntimeError("Unable to find version string.")
-requires = ['botocore==1.12.213',
- 'colorama>=0.2.5,<=0.3.9',
- '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.
- 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.2')
+# requires = ['botocore==1.12.213',
+# 'colorama>=0.2.5,<=0.3.9',
+# '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.
+# 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.2')
setup_options = dict(
@@ -57,12 +57,12 @@
'examples/*/*.txt', 'examples/*/*/*.txt',
'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',