How/when/which environment variables are passed to poetry and it's children #5763
Unanswered
Maciej-Zwolinski
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The reason I'm asking is that I need certain environment variable to be passed to a build process of one of my dependencies (from git). When using normal
pipinstallation I'd run the following:BUILD_ENV_VAR=val python3 -m pip install 'git+https://[...].git@versionIs there a way to achieve the same in poetry? For example
BUILD_ENV_VAR=val poetry install?On related topic, if I use
poetry-dotenv-pluginto set my environment variables are they initiated before or after install, or only inpoetry shell?Beta Was this translation helpful? Give feedback.
All reactions