Skip to main content

A virtualenv Python discovery plugin using pyenv

Project description

virtualenv-pyenv

A virtualenv Python discovery plugin using pyenv

Installation

pip install virtualenv-pyenv

Usage

The Python discovery mechanism can be specified by:

  • the CLI option --discovery:

    virtualenv --discovery pyenv -p 3.10 testenv
    
  • the environment variable VIRTUALENV_DISCOVERY:

    export VIRTUALENV_DISCOVERY=pyenv
    virtualenv -p 3.10 testenv
    
  • the config option discovery:

    [virtualenv]
    discovery = pyenv
    
    virtualenv pyenv -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.

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-pyenv-0.2.0.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

virtualenv_pyenv-0.2.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