MartijnLievaart / penv

Penv is to perl what venv is to python. Somewhat. :P
GNU General Public License v3.0
2 stars 0 forks source link

VIRTUAL_ENV Conflicts with Python #1

Open Ovid opened 1 week ago

Ovid commented 1 week ago

I sometimes do Perl/Python crossover work (microservices connecting the two). As such, I sometimes need a Python venv running, and a Perl venv running. I can just start new shell sessions for each, but as I'm opening multiple windows in tmux and popping between them, having two processes compete for the same environment variable is frustrating :)

Also, that likely means the prompt might need to be restored.

MartijnLievaart commented 1 week ago

This is what works for me, and needs a lot of scrutiny before it is anywhere near core worthy. Obviously, reusing the VIRTUAL_ENV variable is non scaleable, so that absolutely would need to be reverted. In fact, I think I will if I can find the tuits.