A virtualenv Python discovery plugin using asdf
pip install virtualenv-asdfThe Python discovery mechanism can be specified by:
-
the CLI option
--discovery:virtualenv --discovery asdf -p 3.10 testenv
-
the environment variable
VIRTUALENV_DISCOVERY:export VIRTUALENV_DISCOVERY=asdf virtualenv -p 3.10 testenv -
the config option
discovery:[virtualenv] discovery = asdf
virtualenv asdf -p 3.10 testenv
The Python version can be expressed using either 2 or 3 version segments:
-p 3.9-p 3.9.3
In the former case, the latest version found will be used.
Only CPython is supported at the moment.
NOTE: this package derived from virtualenv-pyenv by un.def