小编Ami*_*min的帖子

如何将tool.poetry.source设置为环境变量

我正在将 Poetry 与私有存储库一起使用,并且需要知道是否有办法将以下配置设置为pyproject.toml环境变量。诗歌文档说类似的内容export POETRY_TOOL_POETRY_SOURCE_NAME=repo应该有效,但我没有运气让它发挥作用。

[[tool.poetry.source]]
name = "repo"
url = "https://a.url/simple"
Run Code Online (Sandbox Code Playgroud)

python toml python-poetry

5
推荐指数
0
解决办法
1928
查看次数

标签 统计

python ×1

python-poetry ×1

toml ×1