mirror of
https://github.com/qurator-spk/dinglehopper.git
synced 2025-08-05 07:39:56 +02:00
add version to ocrd-tool.json (and setup.py)
This commit is contained in:
parent
dcc10c5389
commit
d07bd5ecc6
2 changed files with 5 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"git_url": "https://github.com/qurator-spk/dinglehopper",
|
||||
"version": "0.0.1",
|
||||
"tools": {
|
||||
"ocrd-dinglehopper": {
|
||||
"executable": "ocrd-dinglehopper",
|
||||
|
|
4
setup.py
4
setup.py
|
@ -7,8 +7,12 @@ with open("requirements.txt") as fp:
|
|||
with open('requirements-dev.txt') as fp:
|
||||
tests_require = fp.read()
|
||||
|
||||
with open('ocrd-tool.json', 'r', encoding='utf-8') as f:
|
||||
version = load(f)['version']
|
||||
|
||||
setup(
|
||||
name="dinglehopper",
|
||||
version=version,
|
||||
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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue