From 5e6a9732f3cc37bb7a0c915d3968ae7d5b686dc2 Mon Sep 17 00:00:00 2001 From: Aurelien Besnier Date: Fri, 26 Jan 2024 10:37:33 +0100 Subject: [PATCH] Fixing namespace --- setup.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index ff960c2a..44828033 100644 --- a/setup.py +++ b/setup.py @@ -18,12 +18,12 @@ # ============================================================================== import numpy from Cython.Build import cythonize -from setuptools import setup, find_packages, Extension, Command +from setuptools import setup, find_namespace_packages, Extension # ============================================================================== namespace = "openalea" pkg_root_dir = 'src' -packages = [pkg for pkg in find_packages(pkg_root_dir)] +packages = find_namespace_packages(where='src', include=['openalea', 'openalea.*']) top_pkgs = [pkg for pkg in packages if len(pkg.split('.')) <= 2] package_dir = dict([('', pkg_root_dir)] + [(pkg, pkg_root_dir + "/" + pkg.replace('.', '/')) @@ -45,7 +45,7 @@ setup( name="openalea.phenomenal", - version="1.8.1", + version="1.9.0", description="", long_description="", @@ -76,4 +76,4 @@ # See MANIFEST.in include_package_data=True, - ) + ) \ No newline at end of file