I'm a fan of virtual environments, and I also like to keep my virtualenv
s in the root project directory. This helps me keep track of where they are and allows me to call them generic names, like .venv
.
But I need a way to install specific versions of python for use with my virtualenv
s. All roads seem to point to pyenv
.
Unless I'm misunderstanding how pyenv
and pyenv-virtualenv
work, this libary seems to insist on burying my actual virtualenv somewhere in the ~/.pyenv
folder, and leaving me with a .python-version
file, which I'd rather not have.
Isn't there a way to install specific versions of python with the ease of use of pyenv
, but then create my virtual environments in the traditional way, inside my project directory, thus removing my projects's dependency on pyenv
after the virtual environment has been created?