Skip to content

Commit d6afb6f

Browse files
setup.py: only import dependency enum34 for python_version < 3.4.0
1 parent fa78b9d commit d6afb6f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,9 @@
3737
),
3838
setup_requires=["cffi>=1.6.0"],
3939
cffi_modules=["ffi_build.py:ffibuilder"],
40-
install_requires=["cffi>=1.6.0", "six", 'enum34'],
40+
install_requires=[
41+
"cffi>=1.6.0",
42+
"six",
43+
'enum34; python_version < "3.4.0"'
44+
],
4145
)

0 commit comments

Comments
 (0)