加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.py 1.56 KB
一键复制 编辑 原始数据 按行查看 历史
#!/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="mindspore-lab@example.com",
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,
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化