forked from OCR-D/ocrd_kraken
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
39 lines (35 loc) · 1000 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
31
32
33
34
35
36
37
38
39
# -*- coding: utf-8 -*-
"""
Installs two binaries:
- ocrd-kraken-binarize
- ocrd-kraken-segment
"""
import codecs
from setuptools import setup, find_packages
with codecs.open('README.rst', encoding='utf-8') as f:
README = f.read()
setup(
name='ocrd_kraken',
version='0.0.1',
description='kraken bindings',
long_description=README,
author='Konstantin Baierer, Kay-Michael Würzner',
author_email='[email protected], [email protected]',
url='https://github.com/OCR-D/ocrd_kraken',
license='Apache License 2.0',
packages=find_packages(exclude=('tests', 'docs')),
install_requires=[
'ocrd >= 0.13.1',
'kraken >= 0.9.16',
'click >= 7',
],
package_data={
'': ['*.json', '*.yml', '*.yaml'],
},
entry_points={
'console_scripts': [
'ocrd-kraken-binarize=ocrd_kraken.cli:ocrd_kraken_binarize',
'ocrd-kraken-segment=ocrd_kraken.cli:ocrd_kraken_segment',
]
},
)