From b32c623c693d119b6c4ef3341443cc1d9b4895ea Mon Sep 17 00:00:00 2001 From: pradal Date: Tue, 23 Jan 2024 09:28:48 +0100 Subject: [PATCH] Fix namespace package definition --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 31210e9..51c1617 100644 --- a/setup.py +++ b/setup.py @@ -20,6 +20,8 @@ version = _version["__version__"] +packages=find_namespace_packages(where='src', include=['openalea.*']) + setup_kwds = dict( name='openalea.mtg', version=version, @@ -32,7 +34,7 @@ keywords=['OpenAlea', 'MTG', 'Plant Architecture', 'Tree Graph'], zip_safe=False, - packages=find_namespace_packages(where='src', include=['openalea', 'openalea.*']), + packages=packages, package_dir={'': 'src'}, entry_points={}, )