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
-
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=true
andUV_LINK_MODE=copy
would automatically be set when usingrye add
or somesuch without having to encapsulate rye in an environment or specify--env-file
every 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.env
orinit.env
file? 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