mirror of
https://github.com/mikegerber/ocrd_calamari.git
synced 2025-07-12 03:29:53 +02:00
setup.py already contains info about the installed scripts under `entry_points` → `console_scripts`. Remove the second and wrong info about installed executables.
25 lines
783 B
Python
25 lines
783 B
Python
# -*- coding: utf-8 -*-
|
|
import codecs
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
setup(
|
|
name='ocrd_calamari',
|
|
version='0.0.1',
|
|
description='Calamari bindings',
|
|
long_description=codecs.open('README.md', encoding='utf-8').read(),
|
|
author='Konstantin Baierer, Mike Gerber',
|
|
author_email='unixprog@gmail.com, mike.gerber@sbb.spk-berlin.de',
|
|
url='https://github.com/kba/ocrd_calamari',
|
|
license='Apache License 2.0',
|
|
packages=find_packages(exclude=('tests', 'docs')),
|
|
install_requires=open('requirements.txt').read().split('\n'),
|
|
package_data={
|
|
'': ['*.json', '*.yml', '*.yaml'],
|
|
},
|
|
entry_points={
|
|
'console_scripts': [
|
|
'ocrd-calamari-recognize=ocrd_calamari.cli:ocrd_calamari_recognize',
|
|
]
|
|
},
|
|
)
|