pyenv / pyenv-virtualenv

a pyenv plugin to manage virtualenv (a.k.a. python-virtualenv)
MIT License
6.27k stars 398 forks source link

Compatibility with virtualenvwrapper (env folder) #427

Open matejsp opened 2 years ago

matejsp commented 2 years ago

There is pyenv-virtualenvwrapper but it is largely unmaintained (last commit 5 years ago).

I would like to achieve compatibility with virtualenvwrapper since under the hood virtualenvwrapper supports venv and virtualenv using WORKON_HOME environment variable.

Alternative would be that I can support where virtual env is created (like python3 -m venv /path).

az-pz commented 2 years ago

I think adding support to respect WORKON_HOME variable would be the best way to fix the issue. It's simple to implement using conditional and it won't interfere with other functionalities.