-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
57 lines (50 loc) · 1.17 KB
/
pyproject.toml
File metadata and controls
57 lines (50 loc) · 1.17 KB
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
48
49
50
51
52
53
54
55
56
57
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "pyXenium"
version = "0.1.0"
description = "A toy Python package for analyzing 10x Xenium data."
readme = "README.md"
requires-python = ">=3.8"
license = "LicenseRef-Proprietary-NonCommercial"
license-files = ["LICENSE"]
authors = [{ name = "Taobo Hu" }]
# 运行时依赖(按你项目真实需要填写;示例)
dependencies = [
"anndata>=0.10",
"numpy>=1.23",
"pandas>=2.0",
"scipy>=1.10",
"scikit-learn>=1.3",
"matplotlib>=3.8",
"zarr>=3.1",
"fsspec>=2024.6.0",
"requests>=2.31",
"aiohttp",
"click>=8.1",
]
[project.scripts]
pyxenium = "pyXenium.__main__:main"
[project.optional-dependencies]
# ★ 新增:CI 里用到的 .[dev](pytest、构建/发布、文档等常见开发依赖)
dev = [
"pytest>=7",
"pytest-cov",
"build",
"twine",
"mkdocs",
"mkdocs-material",
]
[tool.setuptools]
# ★ 明确 src 布局
package-dir = {"" = "src"}
include-package-data = true
[tool.setuptools.package-data]
pyXenium = [
"config/*.yaml",
"datasets/toy_slide/*.zip",
]
[tool.setuptools.packages.find]
where = ["src"]
include = ["pyXenium*"]