[build-system] requires = ["setuptools>=68.0", "wheel"] build-backend = "setuptools.build_meta" [project] name = "csst_dag" version = "0.0.2" authors = [ { name = "Bo Zhang", email = "bozhang@nao.cas.cn" } ] description = "CSST DAG" readme = { file = "README.md", content-type = "text/markdown" } requires-python = ">=3.11" license = "MIT" # 使用SPDX许可证标识符字符串,替代已弃用的表格式[3,4](@ref) keywords = ["astronomy", "scientific", "physics"] classifiers = [ "Development Status :: 3 - Alpha", "Intended Audience :: Science/Research", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Topic :: Scientific/Engineering :: Physics", "Topic :: Scientific/Engineering :: Astronomy" ] dependencies = [ "astropy", "numpy", "toml", # 注意: 直接使用Git URL依赖在某些构建或安装环境下可能存在兼容性问题。 # 如果遇到问题,可考虑将其移至 `[project.optional-dependencies]` 或预先打包该依赖。 "csst-dfs-client @ git+https://csst-tb.bao.ac.cn/code/csst-dfs/csst-dfs-client.git", ] [project.urls] homepage = "https://csst-tb.bao.ac.cn/code/csst-cicd/csst-dag" [tool.setuptools] # 自动发现 Python 包 packages = { find = { where = ["."] } } include-package-data = true [tool.setuptools.package-data] csst_dag = [ "dag_config/*", ] # 可选:如果需要定义测试、文档等可选依赖组,可以添加如下部分[5,8](@ref) # [project.optional-dependencies] # test = [ # "pytest>=6.0", # ] # dev = [ # "black", # "flake8", # ] # 如果移动Git依赖,可以这样定义(安装时使用 `pip install 'csst_dag[dfs]'`) # dfs = [ # "csst-dfs-client @ git+https://csst-tb.bao.ac.cn/code/csst-dfs/csst-dfs-client.git", # ]