Skip to content

Commit a4117ae

Browse files
michael-koellermroethke
authored andcommitted
setup.py: only import dependency enum34 for python_version < 3.4.0
1 parent 9e94230 commit a4117ae

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

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)