Skip to content

Commit

Permalink
Fixing conditional dependencies to work with wheel
Browse files Browse the repository at this point in the history
Fixes elastic#803 Thanks, @edmorley!
  • Loading branch information
honzakral committed Jan 2, 2018
1 parent 6af6b8c commit d9bc733
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,11 @@
install_requires = [
'six',
'python-dateutil',
'elasticsearch>=6.0.0,<7.0.0'
'elasticsearch>=6.0.0,<7.0.0',
# ipaddress is included in stdlib sincxe py 3.3
'ipaddress; python_version<"3.3"'
]

# ipaddress is included in stdlib sincxe py 3.3
if sys.version_info[:2] < (3, 3):
install_requires.append('ipaddress')

tests_require = [
"mock",
"pytest>=3.0.0",
Expand Down

0 comments on commit d9bc733

Please sign in to comment.