add Enum type for python < 3.4 by using backported enum34 package

fix #1768
parent 829c24db
...@@ -42,6 +42,11 @@ install_requires = [ ...@@ -42,6 +42,11 @@ install_requires = [
'wtforms' 'wtforms'
] ]
if sys.version_info[0:2] < (3, 4):
# required for python < 3.4
install_requires.append('enum34>=1.1.6')
setup( setup(
name='Flask-Admin', name='Flask-Admin',
version=grep('__version__'), version=grep('__version__'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment