forked from Calamari-OCR/calamari
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
36 lines (34 loc) · 1.49 KB
/
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
from setuptools import setup, find_packages
from calamari_ocr import __version__
setup(
name='calamari_ocr',
version=__version__,
packages=find_packages(),
license='Apache License 2.0',
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
include_package_data=True,
author="Christoph Wick",
author_email="[email protected]",
url="https://github.com/Calamari-OCR/calamari",
download_url='https://github.com/Calamari-OCR/calamari/archive/v{}.tar.gz'.format(__version__),
entry_points={
'console_scripts': [
'calamari-eval=calamari_ocr.scripts.eval:main',
'calamari-predict=calamari_ocr.scripts.predict:main',
'calamari-resume-training=calamari_ocr.scripts.resume_training:main',
'calamari-train=calamari_ocr.scripts.train:main',
'calamari-cross-fold-train=calamari_ocr.scripts.cross_fold_train:main',
'calamari-pred_to_json=calamari_ocr.scripts.cross_fold_train:main',
'calamari-tensorflow-rename-variables=calamari_ocr.scripts.tensorflow_rename_variables:main',
],
},
python_requires='>=3.5',
install_requires=open("requirements.txt").read().split('\n'),
extras_require={
'tf_cpu': ['tensorflow>=1.6.0'],
'tf_gpu': ['tensorflow-gpu>=1.6.0'],
},
keywords=['OCR', 'optical character recognition', 'ocropy', 'ocropus', 'kraken'],
data_files=[('', ["requirements.txt"])],
)