diff --git a/setup.py b/setup.py index 65f457da2d4..530ce8c9d04 100755 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ from typing import Any, Iterable, Iterator, List, Optional, Tuple, Union from pkg_resources import Requirement, yield_lines -from setuptools import find_packages, setup +from setuptools import find_namespace_packages, setup _PATH_ROOT = os.path.realpath(os.path.dirname(__file__)) _PATH_SOURCE = os.path.join(_PATH_ROOT, "src") @@ -200,7 +200,7 @@ def _prepare_extras( url=ABOUT.__homepage__, download_url=os.path.join(ABOUT.__homepage__, "archive", "master.zip"), license=ABOUT.__license__, - packages=find_packages(where="src"), + packages=find_namespace_packages(where="src"), package_dir={"": "src"}, long_description=LONG_DESCRIPTION, long_description_content_type="text/markdown",