non-legacy namespace package

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

@ -1 +0,0 @@
__import__('pkg_resources').declare_namespace(__name__)

@ -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,9 +15,7 @@ setup(
keywords='qurator', keywords='qurator',
license='Apache', license='Apache',
url="https://qurator.ai", url="https://qurator.ai",
namespace_packages=['qurator'], packages=find_namespace_packages(include=['qurator']),
packages=find_packages(exclude=["*.tests", "*.tests.*",
"tests.*", "tests"]),
install_requires=install_requires, install_requires=install_requires,
package_data={ package_data={
'': ['*.json'], '': ['*.json'],

Loading…
Cancel
Save