setup: Modernize enum34 requirement declaration.
This commit is contained in:
parent
055cab0703
commit
6fb447a43a
1 changed files with 4 additions and 3 deletions
7
setup.py
7
setup.py
|
@ -6,7 +6,10 @@ import sys
|
|||
from setuptools import setup, find_packages
|
||||
|
||||
REQUIREMENTS = {
|
||||
'install_requires': ['babel'],
|
||||
'install_requires': [
|
||||
'babel',
|
||||
'enum34;python_version<"3.4"',
|
||||
],
|
||||
'setup_requires': ['pytest-runner'],
|
||||
'extras_require': {
|
||||
'brightfunds': ['xlrd'],
|
||||
|
@ -14,8 +17,6 @@ REQUIREMENTS = {
|
|||
},
|
||||
}
|
||||
|
||||
if sys.version_info < (3, 4):
|
||||
REQUIREMENTS['install_requires'].extend(['enum34'])
|
||||
|
||||
REQUIREMENTS['tests_require'] = [
|
||||
'pytest',
|
||||
|
|
Loading…
Reference in a new issue