diff --git a/CHANGES.rst b/CHANGES.rst index 9966988..30b7c93 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -2,9 +2,11 @@ Changes ========= -7.1 (unreleased) +8.0 (unreleased) ================ +- Replace ``pkg_resources`` namespace with PEP 420 native namespace. + - Add preliminary support for Python 3.14 as of 3.14a4. - Drop support for Python 3.8. diff --git a/setup.py b/setup.py index 807a696..cff5a5f 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,6 @@ import sys from setuptools import Extension -from setuptools import find_packages from setuptools import setup @@ -60,7 +59,7 @@ tests_require = [ - 'zope.testrunner', + 'zope.testrunner >= 6.4', 'coverage', ] @@ -102,7 +101,7 @@ def _unavailable(self, e): setup( name='zope.i18nmessageid', - version='7.1.dev0', + version='8.0.dev0', author='Zope Foundation and Contributors', author_email='zope-dev@zope.dev', description='Message Identifiers for internationalization', @@ -133,9 +132,10 @@ def _unavailable(self, e): ], license='ZPL-2.1', url='https://github.com/zopefoundation/zope.i18nmessageid', - packages=find_packages('src'), + # we need the following two parameters because we compile C code, + # otherwise only the shared library is installed: package_dir={'': 'src'}, - namespace_packages=['zope'], + packages=['zope.i18nmessageid'], install_requires=['setuptools'], python_requires='>=3.9', include_package_data=True, diff --git a/src/zope/__init__.py b/src/zope/__init__.py deleted file mode 100644 index 656dc0f..0000000 --- a/src/zope/__init__.py +++ /dev/null @@ -1 +0,0 @@ -__import__('pkg_resources').declare_namespace(__name__) # pragma: no cover