From 8ecf3e04f7dc0df348cf5a5ec99c125d68d0d4de Mon Sep 17 00:00:00 2001 From: Jason Madden Date: Thu, 28 Sep 2017 14:47:25 -0500 Subject: [PATCH] Drop dependency on zope.preference. --- CHANGES.rst | 3 +++ setup.py | 3 +-- src/nti/externalization/configure.zcml | 3 --- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 2d064a1..08bd401 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -35,3 +35,6 @@ be registered locally with ``z3c.baseregistry`` (previously they were always registered in the global site manager). See https://github.com/NextThought/nti.externalization/issues/28 +- Drop dependency on ``zope.preference``. It was not used by this + package, although our ``configure.zcml`` did include it. If you use + ``zope.preference``, please include it in your own ZCML file. diff --git a/setup.py b/setup.py index d7d3b1f..2ede5f7 100755 --- a/setup.py +++ b/setup.py @@ -73,8 +73,7 @@ def _read(fname): 'zope.intid', 'zope.lifecycleevent', 'zope.location', - 'zope.mimetype', - 'zope.preference', + 'zope.mimetype >= 2.3.0', 'zope.proxy', 'zope.schema', 'zope.security', diff --git a/src/nti/externalization/configure.zcml b/src/nti/externalization/configure.zcml index 589d95c..39ce157 100644 --- a/src/nti/externalization/configure.zcml +++ b/src/nti/externalization/configure.zcml @@ -10,9 +10,6 @@ - - -