You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
992 B
Python
30 lines
992 B
Python
from io import open
|
|
from setuptools import find_packages, setup
|
|
|
|
with open('requirements.txt') as fp:
|
|
install_requires = fp.read()
|
|
|
|
setup(
|
|
name='dinglehopper',
|
|
author='Mike Gerber, The QURATOR SPK Team',
|
|
author_email='mike.gerber@sbb.spk-berlin.de, qurator@sbb.spk-berlin.de',
|
|
description='The OCR evaluation tool',
|
|
long_description=open('README.md', 'r', encoding='utf-8').read(),
|
|
long_description_content_type='text/markdown',
|
|
keywords='qurator ocr',
|
|
license='Apache',
|
|
namespace_packages=['qurator'],
|
|
packages=find_packages(exclude=['*.tests', '*.tests.*', 'tests.*', 'tests']),
|
|
install_requires=install_requires,
|
|
package_data={
|
|
'': ['*.json', 'templates/*'],
|
|
},
|
|
entry_points={
|
|
'console_scripts': [
|
|
'dinglehopper=qurator.dinglehopper.cli:main',
|
|
'dinglehopper-extract=qurator.dinglehopper.cli_extract:main',
|
|
'ocrd-dinglehopper=qurator.dinglehopper.ocrd_cli:ocrd_dinglehopper',
|
|
]
|
|
}
|
|
)
|