-
Notifications
You must be signed in to change notification settings - Fork 56
/
setup.py
48 lines (41 loc) · 1.38 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
48
#!/usr/bin/env python
from setuptools import find_packages, setup
exec(open("mindocr/version.py").read())
def read_requirements(fps):
reqs = []
for fp in fps:
with open(fp) as f:
reqs.extend(f.readlines())
return reqs
setup(
name="mindocr",
author="MindSpore Ecosystem",
author_email="mindspore-ecosystem@example.com",
url="https://github.com/mindspore-lab/mindocr",
project_urls={
"Sources": "https://github.com/mindspore-lab/mindocr",
"Issue Tracker": "https://github.com/mindspore-lab/mindocr/issues",
},
description="A toolbox of OCR models and algorithms based on MindSpore.",
license="Apache Software License 2.0",
include_package_data=True,
packages=find_packages(include=["mindocr", "mindocr.*"]),
install_requires=read_requirements(["requirements.txt"]),
python_requires=">=3.7",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
test_suite="tests",
tests_require=[
"pytest",
],
version=__version__,
zip_safe=False,
)