From 3fe4beb20c50fb54cef31b3cd0e2946067aeb09e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 14 Jan 2019 09:13:59 +0100 Subject: [PATCH] Only require enum34 on Legacy Python This resolves https://bugzilla.redhat.com/show_bug.cgi?id=1665501 Signed-off-by: Why Do You --- setup.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 83414556..ab4da262 100755 --- a/setup.py +++ b/setup.py @@ -57,7 +57,6 @@ setup( ], test_suite = "tests", install_requires = [ - "enum34", "jsonschema", "kobo", "lockfile", @@ -67,6 +66,11 @@ setup( 'dogpile.cache', 'dict.sorted', ], + extras_require={ + ':python_version=="2.7"': [ + 'enum34' + ] + }, tests_require = [ "mock", "nose", -- 2.17.2