Skip to content

Commit e058a83

Browse files
committed
Fixes Python3.6 and enum34
Module `enum34` should only be installed on Python < 3.4 Fixes host Python3 regression from ecd0bf6, the error was: ``` AttributeError: module 'enum' has no attribute 'IntFlag' ```
1 parent ecd0bf6 commit e058a83

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
data_files = []
1717

1818

19-
install_reqs = ['appdirs', 'colorama>=0.3.3', 'jinja2', 'six', 'enum34']
19+
install_reqs = ['appdirs', 'colorama>=0.3.3', 'jinja2', 'six',
20+
'enum34;python_version<"3.4"']
2021
if os.name != 'nt':
2122
install_reqs.append('sh>=1.10')
2223

0 commit comments

Comments
 (0)