From 05148dfdd9a735e2f3ce377e476f6285fce97817 Mon Sep 17 00:00:00 2001 From: Weilong Liao <37870767+Soulter@users.noreply.github.com> Date: Sun, 21 Jun 2026 14:08:48 +0800 Subject: [PATCH] fix: add sdist build artifact path to allow dashboard artifact to be included (#8933) * fix: add sdist build artifact path to allow dashboard artifact to be included * Update pyproject.toml Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 851be3da1..05eca5be7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -121,7 +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.wheel] +[tool.hatch.build] artifacts = ["astrbot/dashboard/dist/**"] # Custom build hook: builds the Vue dashboard and copies dist into the package.