Skip to content

Commit 1e44f7a

Browse files
committed
Switch to PEP 420 native namespace.
1 parent bef7147 commit 1e44f7a

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
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 & 9 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

@@ -18,14 +17,11 @@
1817
author="Plone Foundation",
1918
author_email="[email protected]",
2019
license="GPL version 2",
21-
packages=find_packages("src"),
22-
package_dir={"": "src"},
23-
namespace_packages=["plone"],
2420
include_package_data=True,
2521
zip_safe=False,
2622
url="https://github.com/plone/plone.api",
2723
keywords="plone api",
28-
python_requires=">=3.8",
24+
python_requires=">=3.10",
2925
install_requires=[
3026
"Acquisition",
3127
"Products.statusmessages",
@@ -41,7 +37,6 @@
4137
"plone.i18n",
4238
"plone.registry",
4339
"plone.uuid",
44-
"setuptools",
4540
"zope.globalrequest",
4641
"Products.CMFCore",
4742
"z3c.relationfield",
@@ -68,14 +63,12 @@
6863
"Development Status :: 5 - Production/Stable",
6964
"Environment :: Web Environment",
7065
"Framework :: Plone",
71-
"Framework :: Plone :: 6.0",
66+
"Framework :: Plone :: 6.2",
7267
"Framework :: Plone :: Core",
7368
"Intended Audience :: Developers",
7469
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
7570
"Operating System :: OS Independent",
7671
"Programming Language :: Python",
77-
"Programming Language :: Python :: 3.8",
78-
"Programming Language :: Python :: 3.9",
7972
"Programming Language :: Python :: 3.10",
8073
"Programming Language :: Python :: 3.11",
8174
],

src/plone/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)