-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
31 lines (28 loc) · 1.11 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
import setuptools
from version import VERSION
print(f"version =============== {VERSION}")
with open("requirements.txt") as f:
requirements = f.read().splitlines()
setuptools.setup(
name="axa-fr-ocr",
version=VERSION,
packages=["axa_fr_ocr", "axa_fr_ocr.text"],
package_dir={"": "src"},
package_data={"axa_fr_ocr.text": ["*"]},
install_requires=requirements,
author="AXA",
author_email="guillaume.chervet@axa.fr",
url="https://github.com/AxaFrance/axa-fr-ocr",
description="AXA France OCR library",
long_description="Utility library built on top of Tesseract and providing "
"algorithms to deskew text in order to enhance OCR "
"performance. It also provides an algorithm to determine "
"whether an image contains text.",
platforms="POSIX",
classifiers=["Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Topic :: Scientific/Engineering :: Information Analysis",
],
include_package_data=True,
python_requires=">=3.8",
)