Python Virtual Environment should respect ${VIRTUAL_ENV}
#33105
theelderbeever
started this conversation in
Language Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In this section of code you can provide directories with which to look for virtual environments. There should be a way to respect the
${VIRTUAL_ENV}environment variable for active environments. ie: Just use the absolute path in that variable if it is set. A lot of people usepyenvor other solutions which leverage this variable. Simply doingsource ${VIRTUAL_ENV}/bin/activatefeels like it would solve a lot of problems with picking environments.Additionally why not provide a fully custom
activate_scriptinput instead of enforcing shells. That way I (the user) could just set my activate script topyenv activate my-venv?Per the docs.python.org
#7808 for reference
Beta Was this translation helpful? Give feedback.
All reactions