Skip to content

Commit

Permalink
enum34 only where it's needed (#34)
Browse files Browse the repository at this point in the history
* enum34 only where it's needed

In some configurations installing enum34 into a newer Python can break stdlib packages as it may mask the stdlib enum module

* quotes

* use extras_require instead of ; in requirements.txt
  • Loading branch information
funkyHat authored and Revolution1 committed Jul 4, 2018
1 parent 6647271 commit 9ee85c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
enum34>=1.1.6
six>=1.11.0
requests>=2.10.0
semantic-version>=2.6.0
Expand Down
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,8 @@
':python_version >= "3.5"': [
'aiohttp',
],
':python_version < "3.4"': [
'enum34>=1.1.6',
],
},
)

0 comments on commit 9ee85c9

Please sign in to comment.