代码拉取完成,页面将自动刷新
"""
Setup configuration
"""
import setuptools
def get_readme() -> str:
"""get README"""
with open("README.md", encoding="utf-8") as f:
return f.read()
def get_requirements() -> list:
"""get requirements from PaddleScience/requirements.txt"""
req_list = []
with open("requirements.txt", "r") as f:
req_list = f.read().splitlines()
return req_list
if __name__ == "__main__":
setuptools.setup(
name="paddlesci",
author="PaddlePaddle",
url="https://github.com/PaddlePaddle/PaddleScience",
description=(
"PaddleScience is SDK and library for developing AI-driven scientific computing"
" applications based on PaddlePaddle."
),
long_description=get_readme(),
long_description_content_type="text/markdown",
packages=setuptools.find_packages(
exclude=(
"docs",
"examples",
"jointContribution",
"test_tipc",
"test",
"tools",
"ppsci/externals*",
"ppsci/externals/*",
)
),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Mathematics",
],
install_requires=get_requirements(),
use_scm_version=True,
setup_requires=["setuptools_scm"],
)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。