Skip to content

Commit 78358ac

Browse files
committed
🔨 使用 uv build
1 parent 046e07a commit 78358ac

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

pyproject.toml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,13 @@ dev = [
3333
"pre-commit>=3.1.0,<4",
3434
]
3535

36-
[tool.hatch.build.targets.sdist]
37-
include = ["nonebot"]
38-
39-
[tool.hatch.build.targets.wheel]
40-
include = ["nonebot"]
41-
4236
[build-system]
43-
requires = ["hatchling"]
44-
build-backend = "hatchling.build"
37+
requires = ["uv_build>=0.9.1,<0.10.0"]
38+
build-backend = "uv_build"
39+
40+
[tool.uv.build-backend]
41+
module-name = "nonebot.adapters.github"
42+
module-root = ""
4543

4644
[tool.ruff]
4745
line-length = 88

0 commit comments

Comments
 (0)