mirror of
https://github.com/qurator-spk/sbb_binarization.git
synced 2025-06-30 22:49:54 +02:00
fix standalone CLI version_option
This commit is contained in:
parent
6a28ece941
commit
7d8f293f2f
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ from click import command, option, argument, version_option, types
|
||||||
from .sbb_binarize import SbbBinarizer
|
from .sbb_binarize import SbbBinarizer
|
||||||
|
|
||||||
@command()
|
@command()
|
||||||
@version_option()
|
@version_option(package_name="sbb-binarization")
|
||||||
@option('--model-dir', '-m', type=types.Path(exists=True, file_okay=False), required=True, help='directory containing models for prediction')
|
@option('--model-dir', '-m', type=types.Path(exists=True, file_okay=False), required=True, help='directory containing models for prediction')
|
||||||
@argument('input_image')
|
@argument('input_image')
|
||||||
@argument('output_image')
|
@argument('output_image')
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -17,7 +17,7 @@ setup(
|
||||||
author='Vahid Rezanezhad',
|
author='Vahid Rezanezhad',
|
||||||
url='https://github.com/qurator-spk/sbb_binarization',
|
url='https://github.com/qurator-spk/sbb_binarization',
|
||||||
license='Apache License 2.0',
|
license='Apache License 2.0',
|
||||||
packages=find_packages(exclude=('tests', 'docs')),
|
packages=find_packages(exclude=('test', 'repo')),
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
package_data={'': ['*.json', '*.yml', '*.yaml']},
|
package_data={'': ['*.json', '*.yml', '*.yaml']},
|
||||||
install_requires=install_requires,
|
install_requires=install_requires,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue