Skip to content

Commit a9da1a7

Browse files
committed
Switch to PEP 420 native namespace.
1 parent 573919a commit a9da1a7

File tree

4 files changed

+3
-7
lines changed

4 files changed

+3
-7
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: 1 addition & 5 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

@@ -32,7 +31,7 @@ def read(filename):
3231
"Development Status :: 6 - Mature",
3332
"Environment :: Web Environment",
3433
"Framework :: Plone",
35-
"Framework :: Plone :: 6.1",
34+
"Framework :: Plone :: 6.2",
3635
"Framework :: Plone :: Core",
3736
"Framework :: Zope :: 5",
3837
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
@@ -48,9 +47,6 @@ def read(filename):
4847
author_email="[email protected]",
4948
url="https://github.com/collective/plone.app.locales",
5049
license="GPL version 2",
51-
packages=find_packages("src"),
52-
namespace_packages=["plone", "plone.app"],
53-
package_dir={"": "src"},
5450
include_package_data=True,
5551
zip_safe=False,
5652
python_requires=">=3.10",

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)