diff --git a/CHANGES.rst b/CHANGES.rst index 9f9aec6..b16c373 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -2,10 +2,10 @@ CHANGES ======= -6.3 (unreleased) +7.0 (unreleased) ---------------- -- Nothing changed yet. +- Replace ``pkg_resources`` namespace with PEP 420 native namespace. 6.2 (2025-08-08) diff --git a/setup.py b/setup.py index ca31ac3..8a6cfe6 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,6 @@ """ import os -from setuptools import find_packages from setuptools import setup @@ -29,7 +28,7 @@ def read(*rnames): setup(name='zope.untrustedpython', - version='6.3.dev0', + version='7.0.dev0', author='Zope Foundation and Contributors', author_email='zope-dev@zope.dev', description='Zope Untrusted Python Library', @@ -59,9 +58,6 @@ def read(*rnames): ], url='http://github.com/zopefoundation/zope.untrustedpython', license='ZPL-2.1', - packages=find_packages('src'), - package_dir={'': 'src'}, - namespace_packages=['zope'], python_requires='>=3.9', install_requires=[ 'RestrictedPython >= 4', diff --git a/src/zope/__init__.py b/src/zope/__init__.py deleted file mode 100644 index de40ea7..0000000 --- a/src/zope/__init__.py +++ /dev/null @@ -1 +0,0 @@ -__import__('pkg_resources').declare_namespace(__name__)