Skip to content

lanshark/virtualenv-asdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

virtualenv-asdf

A virtualenv Python discovery plugin using asdf

Installation

pip install virtualenv-asdf

Usage

The 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.

Limitations

Only CPython is supported at the moment.

NOTE: this package derived from virtualenv-pyenv by un.def

About

A virtualenv Python discovery plugin using asdf

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages