Skip to content

Commit

Permalink
Install the ipaddress package only on Python 2.7.
Browse files Browse the repository at this point in the history
It is part of the stdlib in Python 3.
  • Loading branch information
Michael Howitz committed Oct 11, 2018
1 parent 59a71e5 commit fb3a93a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGES.rst
Expand Up @@ -78,6 +78,10 @@ Bugfixes
to interact well with plone.testing's patching of the global site manager.
(`#361 <https://github.com/zopefoundation/Zope/pull/361>`_)

- Install the `ipaddress` package only on Python 2.7 as it is part of the
stdlib in Python 3.
(`#368 <https://github.com/zopefoundation/Zope/issues/368>`_)


4.0b5 (2018-05-18)
------------------
Expand Down
6 changes: 5 additions & 1 deletion setup.py
Expand Up @@ -75,7 +75,6 @@ def _read_file(filename):
'RestrictedPython',
'ZConfig >= 2.9.2',
'ZODB',
'ipaddress',
'setuptools',
'six',
'transaction',
Expand Down Expand Up @@ -117,6 +116,11 @@ def _read_file(filename):
'zope.traversing',
'zope.viewlet',
],
extras_require={
':python_version=="2.7"': [
'ipaddress',
]
},
include_package_data=True,
zip_safe=False,
entry_points={
Expand Down

0 comments on commit fb3a93a

Please sign in to comment.