From bcf586b7c0ea8b8c4e2db189a319d2a6ba783849 Mon Sep 17 00:00:00 2001 From: lidf Date: Wed, 1 Jul 2026 15:24:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20VENDOR=5FCOMMIT=20?= =?UTF-8?q?=E6=9C=AA=E6=89=93=E5=8C=85=E8=BF=9B=20pipx=20=E5=AE=89?= =?UTF-8?q?=E8=A3=85=E5=8C=85=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit pyproject.toml 缺少 [tool.setuptools.package-data] 声明, 导致 _vendor/ 下的非 .py 文件(VENDOR_COMMIT)不被打包, mind health 显示 vendor: unknown。 --- pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 956da1d..8b88e44 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,3 +50,7 @@ mind = "mindcli.cli:main" [tool.setuptools.packages.find] include = ["mindcli*"] + +[tool.setuptools.package-data] +# 确保 _vendor/ 下的非 .py 文件(VENDOR_COMMIT 等)被打包 +mindcli = ["_vendor/VENDOR_COMMIT", "_vendor/**/*"]