mirror of
https://github.com/qurator-spk/sbb_textline_detection.git
synced 2025-06-13 22:00:05 +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 setuptools import find_packages, setup
|
||||
from setuptools import find_namespace_packages, setup
|
||||
|
||||
with open('requirements.txt') as fp:
|
||||
install_requires = fp.read()
|
||||
|
@ -15,9 +15,7 @@ setup(
|
|||
keywords='qurator',
|
||||
license='Apache',
|
||||
url="https://qurator.ai",
|
||||
namespace_packages=['qurator'],
|
||||
packages=find_packages(exclude=["*.tests", "*.tests.*",
|
||||
"tests.*", "tests"]),
|
||||
packages=find_namespace_packages(include=['qurator']),
|
||||
install_requires=install_requires,
|
||||
package_data={
|
||||
'': ['*.json'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue