Blame SOURCES/setup-Neuter-extras_require-that-doesn-t-work-on-Cen.patch
|
|
b8cd13 |
From 3eeef7b62131a1dbcbb2758eb9eb382578ddd0fb Mon Sep 17 00:00:00 2001
|
|
|
b8cd13 |
From: Colin Walters <walters@verbum.org>
|
|
|
b8cd13 |
Date: Tue, 3 May 2016 16:35:24 +0200
|
|
|
b8cd13 |
Subject: [PATCH] setup: Neuter extras_require that doesn't work on CentOS 7
|
|
|
b8cd13 |
|
|
|
b8cd13 |
I think the version of python-setuputils is too old or something.
|
|
|
b8cd13 |
---
|
|
|
b8cd13 |
setup.py | 10 +++++-----
|
|
|
b8cd13 |
1 file changed, 5 insertions(+), 5 deletions(-)
|
|
|
b8cd13 |
|
|
|
b8cd13 |
diff --git a/setup.py b/setup.py
|
|
|
b8cd13 |
index fac5129..6a7e03c 100644
|
|
|
b8cd13 |
--- a/setup.py
|
|
|
b8cd13 |
+++ b/setup.py
|
|
|
b8cd13 |
@@ -17,10 +17,10 @@ requirements = [
|
|
|
b8cd13 |
if sys.platform == 'win32':
|
|
|
b8cd13 |
requirements.append('pypiwin32 >= 219')
|
|
|
b8cd13 |
|
|
|
b8cd13 |
-extras_require = {
|
|
|
b8cd13 |
- ':python_version < "3.5"': 'backports.ssl_match_hostname >= 3.5',
|
|
|
b8cd13 |
- ':python_version < "3.3"': 'ipaddress >= 1.0.16',
|
|
|
b8cd13 |
-}
|
|
|
b8cd13 |
+# extras_require = {
|
|
|
b8cd13 |
+# ':python_version < "3.5"': 'backports.ssl_match_hostname >= 3.5',
|
|
|
b8cd13 |
+# ':python_version < "3.3"': 'ipaddress >= 1.0.16',
|
|
|
b8cd13 |
+# }
|
|
|
b8cd13 |
|
|
|
b8cd13 |
version = None
|
|
|
b8cd13 |
exec(open('docker/version.py').read())
|
|
|
b8cd13 |
@@ -33,7 +33,7 @@ setup(
|
|
|
b8cd13 |
],
|
|
|
b8cd13 |
install_requires=requirements,
|
|
|
b8cd13 |
tests_require=test_requirements,
|
|
|
b8cd13 |
- extras_require=extras_require,
|
|
|
b8cd13 |
+ # extras_require=extras_require,
|
|
|
b8cd13 |
zip_safe=False,
|
|
|
b8cd13 |
test_suite='tests',
|
|
|
b8cd13 |
classifiers=[
|
|
|
b8cd13 |
--
|
|
|
b8cd13 |
2.4.11
|
|
|
b8cd13 |
|