Skip to content

Commit

Permalink
Merge pull request #34 from plone/pep-420-native-namespace
Browse files Browse the repository at this point in the history
Pep 420 native namespace
  • Loading branch information
mauritsvanrees authored Feb 18, 2025
2 parents 7578fb4 + 094eef7 commit 79e2a88
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion five/__init__.py

This file was deleted.

1 change: 1 addition & 0 deletions news/pep-420.breaking
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Drop support for ``pkg_resources`` namespace and replace it with PEP 420 native namespace.
7 changes: 3 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from pathlib import Path
from setuptools import find_packages
from setuptools import find_namespace_packages
from setuptools import setup


version = "2.0.1.dev0"
version = "3.0.dev0"

long_description = (
f"{Path('README.rst').read_text()}\n"
Expand Down Expand Up @@ -37,8 +37,7 @@
author_email="[email protected]",
license="ZPL",
url="https://github.com/plone/five.intid",
packages=find_packages(),
namespace_packages=["five"],
packages=find_namespace_packages(),
include_package_data=True,
zip_safe=False,
python_requires=">=3.8",
Expand Down

0 comments on commit 79e2a88

Please sign in to comment.