pyproject.toml 1.22 KB
Newer Older
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
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "csst_dag"
version = "0.0.1"
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 = {text = "MIT"}
keywords = ["astronomy", "scientific", "physics"]
classifiers = [
    "Development Status :: 3 - Alpha",
    "Intended Audience :: Science/Research",
    "License :: OSI Approved :: MIT License",
    "Operating System :: OS Independent",
    "Programming Language :: Python :: 3.11",
    "Topic :: Scientific/Engineering :: Physics",
    "Topic :: Scientific/Engineering :: Astronomy"
]
dependencies = [
    # 需手动将requirements.txt中的依赖按以下格式转换:
    "astropy",
    "numpy",
    "redis",
    "toml",
    "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 = [
    "constants/*",
    "dag/*",
    "config/*"
]