8 Star 24 Fork 14

PaddlePaddle/PaddleScience

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.py 1.85 KB
一键复制 编辑 原始数据 按行查看 历史
无语 提交于 2025-04-08 17:28 +08:00 . [Fix] Fix ver (#1136)
"""
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"],
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/paddlepaddle/PaddleScience.git
git@gitee.com:paddlepaddle/PaddleScience.git
paddlepaddle
PaddleScience
PaddleScience
develop

搜索帮助