Closed 404background closed 3 months ago
@404background are you currently working on this enhancement?
@FrederikPM Yes, I was working on the following branch today. 3-creating-multiple-virtual-environments
I added a configuration node. I am trying with oneditsave to be able to create a new virtual environment when the configuration node is updated.
I always use py.exe when I specify version of python. So I'm testing it so that I can also specify the version for Windows.
I am still thinking about how to implement this. I would like to hear any opinions!
I think what you are doing is makes sense. I was considering that it would be practical to handle the selection, creation, editing, and deletion of environments similarly to how @Alkarex manages server connections in his (https://github.com/alexandrainst/node-red-contrib-postgresql).
This interaction would then make sense to be reused in both the pip and venv node.
For now, this node runs the program in a single Python virtual environment. The idea is to create multiple virtual environments and make them selectable.