aws-cli/hide_py_pckgmgmt.patch

49 lines
1.4 KiB
Diff

--- setup.py.orig
+++ setup.py
@@ -23,18 +23,18 @@ def find_version(*file_paths):
raise RuntimeError("Unable to find version string.")
-requires = ['botocore==1.5.67',
- 'colorama>=0.2.5,<=0.3.7',
- 'docutils>=0.10',
- 'rsa>=3.1.2,<=3.5.0',
- 's3transfer>=0.1.9,<0.2.0',
- 'PyYAML>=3.10,<=3.12']
+#requires = ['botocore==1.5.67',
+# 'colorama>=0.2.5,<=0.3.7',
+# 'docutils>=0.10',
+# 'rsa>=3.1.2,<=3.5.0',
+# 's3transfer>=0.1.9,<0.2.0',
+# 'PyYAML>=3.10,<=3.12']
-if sys.version_info[:2] == (2, 6):
+#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')
+# requires.append('argparse>=1.1')
setup_options = dict(
@@ -51,12 +51,12 @@ setup_options = dict(
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',