Skip to content

Commit f8c037c

Browse files
committed
Switch to PEP 420 native namespace.
1 parent d6f8eea commit f8c037c

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

news/3928.breaking

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Replace ``pkg_resources`` namespace with PEP 420 native namespace.
2+
Support only Plone 6.2 and Python 3.10+.

setup.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
from pathlib import Path
2-
from setuptools import find_packages
32
from setuptools import setup
43

54

@@ -21,25 +20,21 @@
2120
"Development Status :: 5 - Production/Stable",
2221
"Environment :: Web Environment",
2322
"Framework :: Plone",
24-
"Framework :: Plone :: 6.0",
23+
"Framework :: Plone :: 6.2",
2524
"Framework :: Plone :: Core",
2625
"Framework :: Zope :: 5",
2726
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
2827
"Operating System :: OS Independent",
2928
"Programming Language :: Python",
30-
"Programming Language :: Python :: 3.8",
31-
"Programming Language :: Python :: 3.9",
3229
"Programming Language :: Python :: 3.10",
3330
"Programming Language :: Python :: 3.11",
3431
],
35-
python_requires=">=3.8",
32+
python_requires=">=3.10",
3633
keywords="plone browser layer",
3734
author="Plone Foundation",
3835
author_email="[email protected]",
3936
url="https://github.com/plone/plone.browserlayer",
4037
license="GPL version 2",
41-
packages=find_packages(),
42-
namespace_packages=["plone"],
4338
include_package_data=True,
4439
zip_safe=False,
4540
extras_require=dict(
@@ -51,7 +46,6 @@
5146
]
5247
),
5348
install_requires=[
54-
"setuptools",
5549
"zope.component",
5650
"zope.interface",
5751
"zope.traversing >= 3.9.0",

0 commit comments

Comments
 (0)