modify: cli gen_plugin 进程插件模块变更

This commit is contained in:
2026-08-28 16:41:17 +08:00
parent 2dbd04e42e
commit a7f4b1d58b
3 changed files with 7 additions and 3 deletions
+5 -1
View File
@@ -281,7 +281,6 @@ def _gen_pyproject_toml(name: str) -> str:
deps = [
"chongming-cache",
"chongming-worker",
"orjson", # chongming-worker 运行时依赖(SDK metadata 未声明,容器内需显式安装)
]
deps_lines = "\n".join(f' "{d}",' for d in deps)
return f"""# {name} 进程插件依赖清单(扩展依赖直接在此追加,如 "minio")
@@ -300,6 +299,11 @@ url = "{GITEA_PYPI_URL}"
[[tool.uv.index]]
url = "{PYPI_MIRROR}"
[dependency-groups]
dev = [
"chongming-cli",
]
"""