-
Notifications
You must be signed in to change notification settings - Fork 16
/
setup.py
30 lines (24 loc) · 898 Bytes
/
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
from setuptools import setup
def readme():
with open('docs/package_usage.md', 'r', encoding="UTF-8") as f:
README = f.read()
return README
def requirements():
with open('requirements.txt', 'r', encoding='UTF-8') as f:
REQUIREMENTS = f.read().split('\n')
return REQUIREMENTS
setup(name='agentocr',
packages=[
'agentocr', 'agentocr.preprocess', 'agentocr.infer',
'agentocr.postprocess'
],
include_package_data=True,
entry_points={"console_scripts": ["agentocr = agentocr:command"]},
version='2.0.0',
install_requires=requirements(),
license='Apache License 2.0',
description='An easy-to-use OCR package with multilingual support.',
url='https://github.com/AgentMaker/AgentOCR',
author='jm12138',
long_description=readme(),
long_description_content_type='text/markdown')