Skip to content

Your lightweight open-source personal agent.

[紧急]修复we_chat在pyproject.toml配置的问题

lvguangchuan0018e412b9603fa
diff --git a/pyproject.toml b/pyproject.toml
index a52c0c90b..f9abdd00a 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -75,13 +75,6 @@ build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true
-[tool.hatch.build.targets.wheel]
-packages = ["nanobot"]
-
-[tool.hatch.build.targets.wheel.sources]
-"nanobot" = "nanobot"
-
-# Include non-Python files in skills and templates
[tool.hatch.build]
include = [
"nanobot/**/*.py",
@@ -90,6 +83,15 @@ include = [
"nanobot/skills/**/*.sh",
]
+[tool.hatch.build.targets.wheel]
+packages = ["nanobot"]
+
+[tool.hatch.build.targets.wheel.sources]
+"nanobot" = "nanobot"
+
+[tool.hatch.build.targets.wheel.force-include]
+"bridge" = "nanobot/bridge"
+
[tool.hatch.build.targets.sdist]
include = [
"nanobot/",
@@ -98,9 +100,6 @@ include = [
"LICENSE",
]
-[tool.hatch.build.targets.wheel.force-include]
-"bridge" = "nanobot/bridge"
-
[tool.ruff]
line-length = 100
target-version = "py311"