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.1.0.tar.gz (5.5 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.1.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: virtualenv-pyenv-0.1.0.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for virtualenv-pyenv-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8121808e107393ddcbced141d4653459d2dc23c36c7137185d4a3715d54f38a9
MD5 768e673f2f9ee0bc3c4bdcb317ed6bac
BLAKE2b-256 c86b2e3af035615fe38068de3b0ac297e1c3da17e383259848c5a06e79bfd2b0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: virtualenv_pyenv-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for virtualenv_pyenv-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5991b6fed8484314208039150fdff2b6b7c972675218ad02f9bb2547992df52e
MD5 85abbaf0a2fdd759dedc4d92526c5e9e
BLAKE2b-256 37b842acb0e9e9b07fbce71a3d62bf791550f11d3886876742f48a0f52188ea0

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