forked from madmaze/pytesseract
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
47 lines (43 loc) · 1.41 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
import os
from setuptools import setup
README_PATH = 'README.rst'
LONG_DESC = ''
if os.path.exists(README_PATH):
with open(README_PATH) as readme:
LONG_DESC = readme.read()
INSTALL_REQUIRES = ['Pillow']
PACKAGE_NAME = 'pytesseract'
PACKAGE_DIR = 'src'
setup(
name=PACKAGE_NAME,
version='0.3.6',
author='Samuel Hoffstaetter',
author_email='samuel@hoffstaetter.com',
maintainer='Matthias Lee',
maintainer_email='pytesseract@madmaze.net',
description=(
"Python-tesseract is a python wrapper for Google's Tesseract-OCR"
),
long_description=LONG_DESC,
license='Apache License 2.0',
keywords='python-tesseract OCR Python',
url='https://github.com/madmaze/pytesseract',
packages=[PACKAGE_NAME],
package_dir={PACKAGE_NAME: PACKAGE_DIR},
include_package_data=True,
install_requires=INSTALL_REQUIRES,
entry_points={
'console_scripts': ['{0} = {0}.{0}:main'.format(PACKAGE_NAME)],
},
classifiers=[
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
)