forked from OCR-D/ocrd_calamari
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
30 lines (27 loc) · 923 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# -*- coding: utf-8 -*-
from pathlib import Path
import json
from setuptools import setup, find_packages
with open('./ocrd-tool.json', 'r') as f:
version = json.load(f)['version']
setup(
name='ocrd_calamari',
version=version,
description='Calamari bindings',
long_description=Path('README.md').read_text(),
long_description_content_type='text/markdown',
author='Konstantin Baierer, Mike Gerber',
author_email='[email protected], [email protected]',
url='https://github.com/OCR-D/ocrd_calamari',
license='Apache License 2.0',
packages=find_packages(exclude=('test', 'docs')),
install_requires=Path('requirements.txt').read_text().split('\n'),
package_data={
'': ['*.json', '*.yml', '*.yaml'],
},
entry_points={
'console_scripts': [
'ocrd-calamari-recognize=ocrd_calamari.cli:ocrd_calamari_recognize',
]
},
)