-
Notifications
You must be signed in to change notification settings - Fork 144
/
setup.py
51 lines (46 loc) · 1.56 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
49
50
51
#!/usr/bin/env python
from pathlib import Path
from setuptools import find_packages, setup
# read the contents of README file
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
# read the `__version__` global variable in `version.py`
exec(open("mindcv/version.py").read())
setup(
name="mindcv",
author="MindSpore Lab",
author_email="[email protected]",
url="https://github.com/mindspore-lab/mindcv",
project_urls={
"Sources": "https://github.com/mindspore-lab/mindcv",
"Issue Tracker": "https://github.com/mindspore-lab/mindcv/issues",
},
description="A toolbox of vision models and algorithms based on MindSpore.",
long_description=long_description,
long_description_content_type="text/markdown",
license="Apache Software License 2.0",
include_package_data=True,
packages=find_packages(include=["mindcv", "mindcv.*"]),
install_requires=[
"numpy >= 1.17.0",
"PyYAML >= 5.3",
"tqdm",
],
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,
)