From 796a18dd46dcb1a02dd702cf51bcdb74dbac201d Mon Sep 17 00:00:00 2001 From: Weilong Liao <37870767+Soulter@users.noreply.github.com> Date: Sun, 21 Jun 2026 14:08:28 +0800 Subject: [PATCH] Update pyproject.toml Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- pyproject.toml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 7b73bb7aa..05eca5be7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -121,10 +121,7 @@ exclude = ["dashboard", "node_modules", "dist", "data", "tests"] allow-direct-references = true # Include bundled dashboard dist even though it is not tracked by VCS. -[tool.hatch.build.targets.sdist] -artifacts = ["astrbot/dashboard/dist/**"] - -[tool.hatch.build.targets.wheel] +[tool.hatch.build] artifacts = ["astrbot/dashboard/dist/**"] # Custom build hook: builds the Vue dashboard and copies dist into the package.