Only require enum34 on Legacy Python
This resolves https://bugzilla.redhat.com/show_bug.cgi?id=1665501 Signed-off-by: Why Do You <enforce@this.qm>
This commit is contained in:
parent
6a32b3b741
commit
3fe4beb20c
6
setup.py
6
setup.py
@ -57,7 +57,6 @@ setup(
|
|||||||
],
|
],
|
||||||
test_suite = "tests",
|
test_suite = "tests",
|
||||||
install_requires = [
|
install_requires = [
|
||||||
"enum34",
|
|
||||||
"jsonschema",
|
"jsonschema",
|
||||||
"kobo",
|
"kobo",
|
||||||
"lockfile",
|
"lockfile",
|
||||||
@ -67,6 +66,11 @@ setup(
|
|||||||
'dogpile.cache',
|
'dogpile.cache',
|
||||||
'dict.sorted',
|
'dict.sorted',
|
||||||
],
|
],
|
||||||
|
extras_require={
|
||||||
|
':python_version=="2.7"': [
|
||||||
|
'enum34'
|
||||||
|
]
|
||||||
|
},
|
||||||
tests_require = [
|
tests_require = [
|
||||||
"mock",
|
"mock",
|
||||||
"nose",
|
"nose",
|
||||||
|
Loading…
Reference in New Issue
Block a user