Files
maimai-pcse/pyproject.toml
zhenghu bc8248a481 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,避免依赖外部绝对路径
2026-04-14 15:03:53 +08:00

21 lines
437 B
TOML

[project]
name = "maimai-pcse"
version = "0.1.0"
description = "麦麦智农 - 基于 PCSE/WOFOST 作物生长模型的智能种植模拟平台"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"streamlit>=1.52.0",
"plotly>=6.5.0",
"pandas>=2.0.0",
"numpy>=2.0.0",
"pcse==6.0.12",
]
[tool.uv]
find-links = ["./vendor"]
[[tool.uv.index]]
url = "https://mirrors.aliyun.com/pypi/simple"
default = true