Skip to content

Commit

Permalink
setup.py: only import dependency enum34 for python_version < 3.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-koeller committed Mar 9, 2021
1 parent 9e94230 commit a6f395f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,9 @@
),
setup_requires=["cffi>=1.6.0"],
cffi_modules=["ffi_build.py:ffibuilder"],
install_requires=["cffi>=1.6.0", "six", 'enum34'],
install_requires=[
"cffi>=1.6.0",
"six",
'enum34; python_version < "3.4.0"'
],
)

0 comments on commit a6f395f

Please sign in to comment.