Blanket env variables for project? #1451
Unanswered
God-damnit-all
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.
-
I was surprised to find that there wasn't any way to set (in the pyproject.toml file) a way to have any rye invocation relevant to the project have environment varies applied.
I was hoping to have it so, in this particular virtual project,
UV_NO_CACHE=trueandUV_LINK_MODE=copywould automatically be set when usingrye addor somesuch without having to encapsulate rye in an environment or specify--env-fileevery time. Or at least make it so if the current directory has a .env or env file, rye would use it. Maybe it could automatically load arye.envorinit.envfile? Dunno.Maybe I'm overlooking something? Is there an issue open for this if not? There are a lot of issues relating to environment variables and none of them jumped out at me for this, but maybe I missed it.
Beta Was this translation helpful? Give feedback.
All reactions