-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
36 lines (30 loc) · 812 Bytes
/
Copy pathpyproject.toml
File metadata and controls
36 lines (30 loc) · 812 Bytes
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
[project]
name = "printable"
version = "0.5.1"
description = "CLI and functions help for printing tabular data"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"pyyaml>=6",
"wcwidth>=0.2.13",
]
[project.scripts]
printable = "printable:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["printable"]
exclude = [
"printable/native/lib/*/libcolumn.*",
"printable/native/*.c",
"printable/native/*.h",
"printable/native/build*.fish",
]
[tool.hatch.build.hooks.custom]
path = "hatch_build.py"
[tool.hatch.build.targets.sdist]
# sdist 只保留 Python 包、native 库和构建配置
only-include = ["printable", "scripts", "hatch_build.py", "pyproject.toml", "README.md"]
[tool.uv]
package = true