Skip to content

Commit

Permalink
Correction to install enum34 for Python versions < 3.4 (#176)
Browse files Browse the repository at this point in the history
* Moved enum34 to condition dependent on Python<3.4.

* Addition of conditional enum34 install for requirements.txt.

* Correction of requirements.txt syntax for python version.
  • Loading branch information
FrankD412 authored Mar 19, 2019
1 parent b318d06 commit ad6e1cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
enum34
fabric
coverage
filelock
Expand All @@ -12,3 +11,4 @@ pylint
tox
tabulate
pytest
enum34; python_version<'3.4'
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@
install_requires=[
'PyYAML>=4.2b1',
'six',
'enum34',
"filelock",
"tabulate",
],
extras_require={
":python_version<'3.4'": ['enum34'],
},
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
Expand Down

0 comments on commit ad6e1cd

Please sign in to comment.