|
|
@ -1,6 +1,9 @@
|
|
|
|
from io import open
|
|
|
|
from io import open
|
|
|
|
from setuptools import find_packages, setup
|
|
|
|
from setuptools import find_packages, setup
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
from qurator.ocrd_galley.cli import sub_images
|
|
|
|
|
|
|
|
console_scripts = ["%s=qurator.ocrd_galley.cli:main" % command for command in sub_images.keys()]
|
|
|
|
|
|
|
|
|
|
|
|
setup(
|
|
|
|
setup(
|
|
|
|
name="ocrd-galley",
|
|
|
|
name="ocrd-galley",
|
|
|
|
author="Mike Gerber, The QURATOR SPK Team",
|
|
|
|
author="Mike Gerber, The QURATOR SPK Team",
|
|
|
@ -11,26 +14,6 @@ setup(
|
|
|
|
packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
|
|
|
|
packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
|
|
|
|
namespace_packages=["qurator"],
|
|
|
|
namespace_packages=["qurator"],
|
|
|
|
entry_points={
|
|
|
|
entry_points={
|
|
|
|
"console_scripts": [
|
|
|
|
"console_scripts": console_scripts,
|
|
|
|
"ocrd=qurator.ocrd_galley.cli:main",
|
|
|
|
|
|
|
|
"ocrd-olena-binarize=qurator.ocrd_galley.cli:main",
|
|
|
|
|
|
|
|
"ocrd-sbb-binarize=qurator.ocrd_galley.cli:main",
|
|
|
|
|
|
|
|
"ocrd-sbb-textline-detector=qurator.ocrd_galley.cli:main",
|
|
|
|
|
|
|
|
"ocrd-calamari-recognize03=qurator.ocrd_galley.cli:main",
|
|
|
|
|
|
|
|
"ocrd-calamari-recognize=qurator.ocrd_galley.cli:main",
|
|
|
|
|
|
|
|
"ocrd-tesserocr-segment-region=qurator.ocrd_galley.cli:main",
|
|
|
|
|
|
|
|
"ocrd-tesserocr-segment-line=qurator.ocrd_galley.cli:main",
|
|
|
|
|
|
|
|
"ocrd-tesserocr-recognize=qurator.ocrd_galley.cli:main",
|
|
|
|
|
|
|
|
"ocrd-dinglehopper=qurator.ocrd_galley.cli:main",
|
|
|
|
|
|
|
|
"ocrd-cis-ocropy-clip=qurator.ocrd_galley.cli:main",
|
|
|
|
|
|
|
|
"ocrd-cis-ocropy-resegment=qurator.ocrd_galley.cli:main",
|
|
|
|
|
|
|
|
"ocrd-cis-ocropy-segment=qurator.ocrd_galley.cli:main",
|
|
|
|
|
|
|
|
"ocrd-cis-ocropy-deskew=qurator.ocrd_galley.cli:main",
|
|
|
|
|
|
|
|
"ocrd-cis-ocropy-denoise=qurator.ocrd_galley.cli:main",
|
|
|
|
|
|
|
|
"ocrd-cis-ocropy-binarize=qurator.ocrd_galley.cli:main",
|
|
|
|
|
|
|
|
"ocrd-cis-ocropy-dewarp=qurator.ocrd_galley.cli:main",
|
|
|
|
|
|
|
|
"ocrd-cis-ocropy-recognize=qurator.ocrd_galley.cli:main",
|
|
|
|
|
|
|
|
"ocrd-fileformat-transform=qurator.ocrd_galley.cli:main",
|
|
|
|
|
|
|
|
]
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
)
|
|
|
|
)
|
|
|
|