2 years ago

#51886

test-img

Amin

How to set tool.poetry.source as environment variable

I'm using Poetry with a private repo and need to know if there is a way to set the following config in pyproject.toml as env variable. The Poetry documentation says something like export POETRY_TOOL_POETRY_SOURCE_NAME=repo should work but I had no luck make it work.

[[tool.poetry.source]]
name = "repo"
url = "https://a.url/simple"

python

python-poetry

toml

0 Answers

Your Answer

Accepted video resources