Skip to content

Commit 9433396

Browse files
committed
Switch to PEP 420 native namespace.
1 parent 2abd098 commit 9433396

File tree

4 files changed

+7
-11
lines changed

4 files changed

+7
-11
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: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from setuptools import find_packages
21
from setuptools import setup
32

43

@@ -15,12 +14,13 @@
1514
"Development Status :: 4 - Beta",
1615
"Environment :: Web Environment",
1716
"Framework :: Plone",
18-
"Framework :: Plone :: 5.2",
19-
"Framework :: Plone :: 6.0",
17+
"Framework :: Plone :: 6.2",
2018
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
2119
"Programming Language :: Python",
22-
"Programming Language :: Python :: 3.9",
2320
"Programming Language :: Python :: 3.10",
21+
"Programming Language :: Python :: 3.11",
22+
"Programming Language :: Python :: 3.12",
23+
"Programming Language :: Python :: 3.13",
2424
"Topic :: Internet :: WWW/HTTP",
2525
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
2626
"Topic :: Software Development :: Libraries :: Python Modules",
@@ -30,14 +30,10 @@
3030
author_email="[email protected]",
3131
url="http://plone.org",
3232
license="GPL",
33-
packages=find_packages("src"),
34-
namespace_packages=["plone", "plone.app"],
35-
package_dir={"": "src"},
3633
include_package_data=True,
3734
zip_safe=False,
38-
python_requires=">=3.9",
35+
python_requires=">=3.10",
3936
install_requires=[
40-
"setuptools",
4137
"plone.app.uuid",
4238
"plone.autoform",
4339
"plone.behavior>=1.1",

src/plone/__init__.py

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

src/plone/app/__init__.py

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

0 commit comments

Comments
 (0)