-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsetup.py
55 lines (49 loc) · 1.28 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#!/usr/bin/python3
#
# Copyright (c) 2017-2019 NVIDIA CORPORATION. All rights reserved.
# This file is part of webloader (see TBD).
# See the LICENSE file for licensing terms (BSD-style).
#
import sys
from distutils.core import setup
if sys.version_info < (3, 6):
sys.exit("Python versions less than 3.6 are not supported")
VERSION = "0.0.0"
PREREQS = """
braceexpand
bs4
editdistance
humanhash3
lxml
matplotlib
scikit-image
scipy
tasker
typer
tabulate
torchmore@git+git://github.com/tmbdev/torchmore.git
webdataset@git+git://github.com/tmbdev/webdataset.git@v2
""".split()
print(PREREQS)
setup(
name="ocropus",
version=VERSION,
description="OCRopus 4",
long_description=open("README.md").read(),
url="http://github.com/tmbdev/ocropus4",
author="Thomas Breuel",
author_email="tmbdev+removeme@gmail.com",
license="MIT",
classifiers=[
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
keywords="ocr, scene text, deep learning, text recognition",
packages=["ocropus"],
scripts=["ocropus4"],
python_requires=">=3.8",
install_requires=PREREQS,
# long_description_content_type="text/markdown",
)