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
1 changed files with 5 additions and 1 deletions
6
setup.py
6
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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue