wonderful-motherboard-40477
12/09/2023, 9:14 AMpulumi new python
in a new project, the command automatically creates venv
folder, and installs all the requirements. Is there anyway to specify a custom venv folder instead of the default one ? Say I need to set it to .venv
. I know how to alter it after running the command, what I need is to alter it before or during the command. Thanksadorable-house-61348
12/12/2023, 11:06 AMwonderful-motherboard-40477
12/12/2023, 12:32 PMpulumi new python
creates automatically venv
and install all the dependencies, and we can only alter it after all the installation which is too late.
I created this issue on their repo.adorable-house-61348
12/12/2023, 3:54 PMThis behavior is controlled by the following virtualenv runtime option in Pulumi.yaml:
runtime:
name: python
options:
virtualenv: venv
virtualenv is the path to a virtual environment to use.
Is this not what you want? I might have misunderstood your problemadorable-house-61348
12/12/2023, 3:55 PMpulumi new
. I'm afraid that's not possible right now. Thanks for raising the issue!wonderful-motherboard-40477
12/12/2023, 3:57 PMPulumi.yaml
is generated by pulumi new
too. I got an update from a pulumi maintainer in above issue, maybe it will be possible soon.