docs: 更新 uv pyproject.toml 示例,改为从 git 仓库安装 Python 包
This commit is contained in:
@@ -303,7 +303,11 @@ requires-python = ">=3.11"
|
||||
dependencies = []
|
||||
|
||||
[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 }
|
||||
```
|
||||
|
||||
## 通信协议
|
||||
|
||||
Reference in New Issue
Block a user