mirror of
https://github.com/qurator-spk/sbb_textline_detection.git
synced 2025-06-14 14:20:03 +02:00
Merge pull request #66 from bertsky/new-namespace-pkg
non-legacy namespace package
This commit is contained in:
commit
35e0ae0ef8
2 changed files with 2 additions and 5 deletions
|
@ -1 +0,0 @@
|
||||||
__import__('pkg_resources').declare_namespace(__name__)
|
|
6
setup.py
6
setup.py
|
@ -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…
Add table
Add a link
Reference in a new issue