forked from danwald/pytextractor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
43 lines (39 loc) · 1.32 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
from setuptools import setup, find_packages
from setuptools.command.develop import develop
from setuptools.command.install import install
with open('README.md', 'r') as readme_file:
readme = readme_file.read()
requirements = [
'imutils==0.5.3',
'opencv-python==4.4.0.46',
'Pillow==8.1.0',
'pytesseract==0.3.7',
'requests==2.25.1',
]
setup(
name='pytextractor',
version='1.0.0',
author='danny crasto',
author_email='danwald79@gmail.com',
description='text extractor from images',
long_description=readme,
long_description_content_type='text/markdown',
url='https://github.com/danwald/pytextractor/',
packages=find_packages(),
install_requires=requirements,
use_scm_version=True,
setup_requires=['pytest-runner', 'setuptools_scm', ],
tests_require=['pytest', ],
license='MIT',
include_package_data=False,
entry_points={'console_scripts': ['text_detector=pytextractor.text_detection:text_detector']},
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'License :: OSI Approved :: MIT License',
],
)