我正在将 Poetry 与私有存储库一起使用,并且需要知道是否有办法将以下配置设置为pyproject.toml环境变量。诗歌文档说类似的内容export POETRY_TOOL_POETRY_SOURCE_NAME=repo应该有效,但我没有运气让它发挥作用。
pyproject.toml
export POETRY_TOOL_POETRY_SOURCE_NAME=repo
[[tool.poetry.source]] name = "repo" url = "https://a.url/simple"
python toml python-poetry
python ×1
python-poetry ×1
toml ×1