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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

virtualenv_pyenv-0.2.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file virtualenv-pyenv-0.2.0.tar.gz.

File metadata

  • Download URL: virtualenv-pyenv-0.2.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.0

File hashes

Hashes for virtualenv-pyenv-0.2.0.tar.gz
Algorithm Hash digest
SHA256 d8ff412eb3189454f51f06f45ced97559dfe3274fc5a659d574ae81959ce4338
MD5 5c433b267bc849c86661bdd59b02d84b
BLAKE2b-256 48b1c057046424dc79cef246bd00772dc005e5efc63826ae47356feede2a5385

See more details on using hashes here.

File details

Details for the file virtualenv_pyenv-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for virtualenv_pyenv-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bc5bd2c2e50097b751585bcd5499e3020ba52983716caceb69ea1d9ca1a358d8
MD5 4e7b6508708d724e2a2dba60d5ad8cbb
BLAKE2b-256 b467ef15bcfb5836c899fe264234f53bddc887e78165c48df4d8b2496fd3e516

See more details on using hashes here.

Supported by

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