diff --git a/cookieplone/utils/plone.py b/cookieplone/utils/plone.py index 74f8f9c..89f49d9 100644 --- a/cookieplone/utils/plone.py +++ b/cookieplone/utils/plone.py @@ -58,9 +58,7 @@ def format_python_codebase(path: Path): func(path) -def create_namespace_packages( - path: Path, package_name: str, style: str = "pkg_resources" -): +def create_namespace_packages(path: Path, package_name: str, style: str = "native"): """Create namespace packages to hold an existing package.""" current = path.parent for namespace in package_name.split(".")[:-1]: diff --git a/news/115.feature b/news/115.feature new file mode 100644 index 0000000..be9795d --- /dev/null +++ b/news/115.feature @@ -0,0 +1 @@ +Default to create Python native namespaces @gforcada