Skip to content

Commit fff7655

Browse files
authored
Merge pull request #24 from kitconcept/update-metadata
Fix metadata for the package
2 parents 775dc1f + 1912945 commit fff7655

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

news/+metadata.internal

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix metadata for the package. @ericof

setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""Installer for the kitconcept.seo package."""
22

33
from pathlib import Path
4-
from setuptools import find_packages
4+
from setuptools import find_namespace_packages
55
from setuptools import setup
66

77

@@ -30,7 +30,6 @@
3030
"Programming Language :: Python :: 3.10",
3131
"Programming Language :: Python :: 3.11",
3232
"Operating System :: OS Independent",
33-
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
3433
],
3534
keywords="Python Plone CMS",
3635
author="kitconcept GmbH",
@@ -42,7 +41,7 @@
4241
"Tracker": "https://github.com/kitconcept/kitconcept.seo/issues",
4342
},
4443
license="GPL version 2",
45-
packages=find_packages("src", exclude=["ez_setup"]),
44+
packages=find_namespace_packages(where="src/", include=["kitconcept.*"]),
4645
namespace_packages=["kitconcept"],
4746
package_dir={"": "src"},
4847
include_package_data=True,

src/kitconcept/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
from pkgutil import extend_path
22

3+
34
__path__ = extend_path(__path__, __name__)

0 commit comments

Comments
 (0)