pulumi/sdk/python/toolchain
Julien P a1880cbddc
Add VIRTUAL_ENV to env var when running in a venv (#16425)
Activating a virtual environment sets a VIRTUAL_ENV environment
variable. Replicate this behaviour in `ActivateVirtualEnv` function.

https://docs.python.org/3/library/venv.html#how-venvs-work
> When a virtual environment has been activated, the VIRTUAL_ENV
environment variable is set to the path of the environment
2024-06-20 10:26:49 +00:00
..
pip.go Add VIRTUAL_ENV to env var when running in a venv (#16425) 2024-06-20 10:26:49 +00:00
pip_test.go Add VIRTUAL_ENV to env var when running in a venv (#16425) 2024-06-20 10:26:49 +00:00
poetry.go Query language runtime for options during “pulumi new” (#16346) 2024-06-17 17:10:55 +00:00
poetry_test.go Query language runtime for options during “pulumi new” (#16346) 2024-06-17 17:10:55 +00:00
shim_unix.go [Python] Move existing dependency installation and python command invocation to a Toolchain interface (#16243) 2024-06-03 13:52:27 +00:00
shim_windows.go [Python] Move existing dependency installation and python command invocation to a Toolchain interface (#16243) 2024-06-03 13:52:27 +00:00
toolchain.go Support Poetry as Python toolchain (#16315) 2024-06-06 14:16:24 +00:00
toolchain_test.go Support Poetry as Python toolchain (#16315) 2024-06-06 14:16:24 +00:00