Skip to content

Commit 0d45020

Browse files
authored
BLD: Require enum34 for Python < 3.4
pandas-dev#22802 imports `enum`, which was added to the built-ins in Python 3.4. The `enum34` package backports `enum` to earlier Python versions, so this should be a dependency as long as Python 2.7 is still supported.
1 parent 67faf6c commit 0d45020

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ def is_platform_windows():
2929
'install_requires': [
3030
'python-dateutil >= 2.5.0',
3131
'pytz >= 2011k',
32+
'enum34; python_version < "3.4"',
3233
'numpy >= {numpy_ver}'.format(numpy_ver=min_numpy_ver),
3334
],
3435
'setup_requires': ['numpy >= {numpy_ver}'.format(numpy_ver=min_numpy_ver)],

0 commit comments

Comments
 (0)