docs: 更新 uv pyproject.toml 示例,改为从 git 仓库安装 Python 包

This commit is contained in:
2026-04-10 09:28:05 +08:00
parent a92abca252
commit cca4860df0

View File

@@ -303,7 +303,11 @@ requires-python = ">=3.11"
dependencies = [] dependencies = []
[tool.uv.sources] [tool.uv.sources]
gobridge = { path = "../../python", editable = true } # 从 git 仓库安装(推荐)
gobridge = { git = "https://git.fsdpf.net/go/gobridge.git", subdirectory = "python" }
# 本地开发时改用本地路径
# gobridge = { path = "../../python", editable = true }
``` ```
## 通信协议 ## 通信协议