-
Notifications
You must be signed in to change notification settings - Fork 112
/
Copy pathsetup.py
43 lines (40 loc) · 1.89 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
'''
PassportEye: Python tools for image processing of identification documents
Author: Konstantin Tretyakov
License: MIT
'''
from setuptools import setup, find_packages
setup(name='PassportEye',
version=[ln for ln in open("passporteye/__init__.py") if ln.startswith("__version__")][0].split('"')[1],
description="Extraction of machine-readable zone information from passports, visas and id-cards via OCR",
long_description=open("README.rst").read(),
classifiers=[ # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
'Development Status :: 4 - Beta',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Scientific/Engineering :: Image Recognition',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Intended Audience :: Legal Industry',
'Intended Audience :: Financial and Insurance Industry'
],
keywords='id-card passport image-processing mrz machine-readable-zone',
author='Konstantin Tretyakov',
author_email='[email protected]',
url='https://github.com/konstantint/PassportEye',
license='MIT',
packages=find_packages(exclude=['examples', 'tests']),
include_package_data=True,
zip_safe=False,
install_requires=['numpy', 'scipy', 'scikit-image >= 0.19.0', 'imageio', 'scikit-learn', 'matplotlib', 'pytesseract >= 0.2.0', 'imageio',
'pdfminer >= 20191010'],
extras_require={
"test": ["pytest"],
"dev": ["pytest", "pylint", "jupyter", "twine"],
},
entry_points={
'console_scripts': ['evaluate_mrz=passporteye.mrz.scripts:evaluate_mrz',
'mrz=passporteye.mrz.scripts:mrz',
'extract_mrz_rois=passporteye.mrz.scripts:extract_mrz_rois']
}
)