Skip to content

Commit a9ad8b9

Browse files
committed
fix: use env marker to install enum34
Rely on [environment markers](https://www.python.org/dev/peps/pep-0508/#environment-markers) to conditionally install enum34.
1 parent ffc6714 commit a9ad8b9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ def find_version(*file_paths):
2828
long_description = f.read()
2929

3030
install_requires = [
31+
'enum34 ; python_version < "3.4"',
3132
'requests',
3233
'six',
3334
'pytz',

0 commit comments

Comments
 (0)