Skip to main content

virtualenv-multipython

virtualenv discovery plugin for multipython

license pypi python versions tested with multipython uses docsub

This plugin is intended to be installed under multipython docker image. This is done automatically during multipython release, and there seems to be no reason to install this plugin manually by anyone.

Environment names supported are all multipython tags.

This plugin allows to use multipython tags in virtualenv:

$ virtualenv --python py314t /tmp/venv

Behaviour

  • Loosely follow behaviour of builtin virtualenv discovery, with some important differences:
  • Try requests one by one, starting with --try-first-with; if one matches multipython tag or is an absolute path, return it to virtualenv.
  • If no version was requested at all, use sys.executable
  • If no request matched conditions above, fail to discover interpreter.
  • In particular, command names on PATH are not discovered.

Installation

$ pip install virtualenv-multipython

Configuration

Set multipython to be the default discovery method for virtualenv:

Option 1. Environment variable

VIRTUALENV_DISCOVERY=multipython

Option 2. Configuration file

[virtualenv]
discovery = multipython

Add these lines to one of virtualenv configuration files. Under e.g. Debian root, the file is /root/.config/virtualenv/virtualenv.ini

Changelog

Metadata

Release files for virtualenv-multipython 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for virtualenv-multipython 0.5.1
File Size Uploaded Provenance Actions
virtualenv_multipython-0.5.1.tar.gz 4.7 kB Without provenance Details for virtualenv_multipython-0.5.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for virtualenv-multipython 0.5.1
File Interpreter ABI Platform Actions
virtualenv_multipython-0.5.1-py2.py3-none-any.whl Python 2, Python 3 none any Details for virtualenv_multipython-0.5.1-py2.py3-none-any.whl

Total release size: 10.6 kB

Release files / virtualenv_multipython-0.5.1.tar.gz

Download URL virtualenv_multipython-0.5.1.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
6c5cc6a3576559a7e642fac3f4b41381c9e27d6b3f65834468d1e49d44716789
BLAKE2b-256 checksum
How to use checksums
b83a514beba4f4b7ca2d08a171efe34faf955a74427b6c5b1f2755b132ce8c0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.13

Release files / virtualenv_multipython-0.5.1-py2.py3-none-any.whl

Download URL virtualenv_multipython-0.5.1-py2.py3-none-any.whl
Size 5.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
30d63506ed6481a74e8af8fa607f0b0ce3c0b947222bb37db6790127ba5d0acf
BLAKE2b-256 checksum
How to use checksums
3f82da1fce9d09179f293524e7e1d8bdd3867bcd20308a6c9725d6895e03af46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.13

Security for virtualenv-multipython 0.5.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page