feat: poetry下载源地址

This commit is contained in:
martsforever
2026-03-27 15:53:05 +08:00
parent a6d6ada0f0
commit c2eef126cd
2 changed files with 314 additions and 3 deletions
+11
View File
@@ -20,6 +20,17 @@ langchain = {extras = ["openai"], version = "^1.2.13"}
[tool.poetry.group.dev.dependencies]
langchain-cli = ">=0.0.15"
# 配置国内镜像源
[[tool.poetry.source]]
name = "tsinghua"
url = "https://pypi.tuna.tsinghua.edu.cn/simple"
priority = "primary" # 最高优先级
[[tool.poetry.source]]
name = "aliyun"
url = "https://mirrors.aliyun.com/pypi/simple/"
priority = "supplemental" # 次级优先级
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"