fix namespace pkg setup

pull/5/head
Robert Sachunsky 6 months ago committed by GitHub
parent e7b07596db
commit c90c639624
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1,5 +1,5 @@
from io import open from io import open
from setuptools import find_packages, setup from setuptools import find_namespace_packages, setup
with open('requirements.txt') as fp: with open('requirements.txt') as fp:
install_requires = fp.read() install_requires = fp.read()
@ -15,8 +15,7 @@ setup(
keywords='qurator', keywords='qurator',
license='Apache', license='Apache',
url="https://qurator.ai", url="https://qurator.ai",
packages=find_packages(exclude=["*.tests", "*.tests.*", packages=find_namespace_packages(include=['qurator']),
"tests.*", "tests"]),
install_requires=install_requires, install_requires=install_requires,
entry_points={ entry_points={
'console_scripts': [ 'console_scripts': [
@ -40,4 +39,4 @@ setup(
'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering :: Artificial Intelligence', 'Topic :: Scientific/Engineering :: Artificial Intelligence',
], ],
) )

Loading…
Cancel
Save