Commit d1409fe5 authored by Jérome Perrin's avatar Jérome Perrin Committed by Julien Muchembled

setup.py: only require enum34 for python older than 3.4

This fixes errors like:

    File "python3.6/lib/python3.6/re.py", line 142, in <module>
      class RegexFlag(enum.IntFlag):
  AttributeError: module 'enum' has no attribute 'IntFlag
parent 8775c086
...@@ -61,7 +61,7 @@ setup(name=name, ...@@ -61,7 +61,7 @@ setup(name=name,
packages=find_packages(), packages=find_packages(),
include_package_data=True, include_package_data=True,
install_requires=[ install_requires=[
'enum34', # for inotify-simple 'enum34; python_version<"3.4"', # for inotify-simple
'jsonschema', 'jsonschema',
'hexagonit.recipe.download', 'hexagonit.recipe.download',
'netaddr', # to manipulate on IP addresses 'netaddr', # to manipulate on IP addresses
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment