-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
36 lines (34 loc) · 907 Bytes
/
setup.py
File metadata and controls
36 lines (34 loc) · 907 Bytes
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
# -*- coding: utf-8 -*-
"""
Installs the executable tesserocr-batch
"""
import codecs
from setuptools import setup
with codecs.open('README.md', encoding='utf-8') as file:
README = file.read()
setup(
name='data-processing',
version='0.2',
description='various tools for data processing',
long_description=README,
author='Robert Sachunsky',
author_email='sachunsky@informatik.uni-leipzig.de',
license='Apache License 2.0',
install_requires=[
'click',
'tesserocr >= 2.5.1',
'ocrd >= 2.24',
'ocrd_tesserocr',
'ocrd_cis',
'pyphen',
],
entry_points={
'console_scripts': [
'tesserocr-batch=tesserocr_batch:process',
'prob2pkl=prob2pkl:cli',
'confmat2pkl=confmat2pkl:cli',
'ocrd-gt2pkl=ocrd_gt2pkl:cli',
'dta-txt2gt=dta_txt2gt:cli',
]
},
)