build: 将 pcse 本地路径依赖改为本地 vendor wheel 包

- 在 Dockerfile 中复制 vendor/ 目录,确保镜像构建时可用本地 wheel
  - pyproject.toml 中将 pcse 依赖从 file:///job/pcse 固定为 ==6.0.12
  - 配置 uv find-links 指向 ./vendor,解析本地 wheel 源
  - 新增 vendor/pcse-6.0.12-py3-none-any.whl,避免依赖外部绝对路径
This commit is contained in:
zhenghu
2026-04-14 15:03:53 +08:00
parent e4543ce7bd
commit bc8248a481
5 changed files with 15 additions and 14 deletions

View File

@@ -9,9 +9,12 @@ dependencies = [
"plotly>=6.5.0",
"pandas>=2.0.0",
"numpy>=2.0.0",
"pcse @ file:///job/pcse",
"pcse==6.0.12",
]
[tool.uv]
find-links = ["./vendor"]
[[tool.uv.index]]
url = "https://mirrors.aliyun.com/pypi/simple"
default = true