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 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page