From c90c639624629d480a5c81bb990818d8f85a39fc Mon Sep 17 00:00:00 2001 From: Robert Sachunsky <38561704+bertsky@users.noreply.github.com> Date: Fri, 24 May 2024 16:32:53 +0200 Subject: [PATCH] fix namespace pkg setup --- setup.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 63c24a2..c9b34be 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,5 @@ from io import open -from setuptools import find_packages, setup +from setuptools import find_namespace_packages, setup with open('requirements.txt') as fp: install_requires = fp.read() @@ -15,8 +15,7 @@ setup( keywords='qurator', license='Apache', url="https://qurator.ai", - packages=find_packages(exclude=["*.tests", "*.tests.*", - "tests.*", "tests"]), + packages=find_namespace_packages(include=['qurator']), install_requires=install_requires, entry_points={ 'console_scripts': [ @@ -40,4 +39,4 @@ setup( 'Programming Language :: Python :: 3', 'Topic :: Scientific/Engineering :: Artificial Intelligence', ], -) \ No newline at end of file +)