1
0
Fork 0
mirror of https://github.com/qurator-spk/dinglehopper.git synced 2025-08-03 06:40:01 +02:00

add version to ocrd-tool.json (and setup.py)

This commit is contained in:
Konstantin Baierer 2023-02-28 17:14:04 +01:00
parent dcc10c5389
commit d07bd5ecc6
2 changed files with 5 additions and 0 deletions
qurator/dinglehopper
setup.py

View file

@ -1,5 +1,6 @@
{ {
"git_url": "https://github.com/qurator-spk/dinglehopper", "git_url": "https://github.com/qurator-spk/dinglehopper",
"version": "0.0.1",
"tools": { "tools": {
"ocrd-dinglehopper": { "ocrd-dinglehopper": {
"executable": "ocrd-dinglehopper", "executable": "ocrd-dinglehopper",

View file

@ -7,8 +7,12 @@ with open("requirements.txt") as fp:
with open('requirements-dev.txt') as fp: with open('requirements-dev.txt') as fp:
tests_require = fp.read() tests_require = fp.read()
with open('ocrd-tool.json', 'r', encoding='utf-8') as f:
version = load(f)['version']
setup( setup(
name="dinglehopper", name="dinglehopper",
version=version,
author="Mike Gerber, The QURATOR SPK Team", author="Mike Gerber, The QURATOR SPK Team",
author_email="mike.gerber@sbb.spk-berlin.de, qurator@sbb.spk-berlin.de", author_email="mike.gerber@sbb.spk-berlin.de, qurator@sbb.spk-berlin.de",
description="The OCR evaluation tool", description="The OCR evaluation tool",