From b6ca1a7c5368e8611a90709f3e1813846f1fa0eb Mon Sep 17 00:00:00 2001 From: Konstantin Baierer Date: Fri, 6 Dec 2019 18:21:00 +0100 Subject: [PATCH] kebab-case snake_case executable, fix #9 --- .gitignore | 2 ++ qurator/sbb_textline_detector/ocrd-tool.json | 4 ++-- setup.py | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3fafd07 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +__pycache__ +*.egg-info diff --git a/qurator/sbb_textline_detector/ocrd-tool.json b/qurator/sbb_textline_detector/ocrd-tool.json index b76f439..241f551 100644 --- a/qurator/sbb_textline_detector/ocrd-tool.json +++ b/qurator/sbb_textline_detector/ocrd-tool.json @@ -1,8 +1,8 @@ { "version": "0.0.1", "tools": { - "ocrd_sbb_textline_detector": { - "executable": "ocrd_sbb_textline_detector", + "ocrd-sbb-textline-detector": { + "executable": "ocrd-sbb-textline-detector", "description": "Detect lines", "steps": ["layout/segmentation/line"], "input_file_grp": [ diff --git a/setup.py b/setup.py index 1c9075f..92c88cf 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ setup( entry_points={ 'console_scripts': [ "sbb_textline_detector=qurator.sbb_textline_detector:main", - "ocrd_sbb_textline_detector=qurator.sbb_textline_detector:ocrd_sbb_textline_detector", + "ocrd-sbb-textline-detector=qurator.sbb_textline_detector:ocrd_sbb_textline_detector", ] }, python_requires='>=3.6.0',