Skip to main content

A virtualenv Python discovery plugin using asdf

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

virtualenv_asdf-0.1.0.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

virtualenv_asdf-0.1.0-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page