from io import open 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( name="ocrd-galley", author="Mike Gerber, The QURATOR SPK Team", author_email="mike.gerber@sbb.spk-berlin.de, qurator@sbb.spk-berlin.de", description="A Dockerized test environment for OCR-D processors ship", keywords="qurator ocr ocr-d", license="Apache", packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]), namespace_packages=["qurator"], entry_points={ "console_scripts": console_scripts, }, )