MCPcopy Create free account
hub / github.com/pex-tool/pex / all_python_venvs

Function all_python_venvs

testing/__init__.py:884–892  ·  view source on GitHub ↗
(system_site_packages=False)

Source from the content-addressed store, hash-verified

882
883
884def all_python_venvs(system_site_packages=False):
885 # type: (bool) -> Iterable[VenvFactory]
886 return tuple(
887 VenvFactory(
888 python_version=version,
889 factory=lambda: ensure_python_venv(version, system_site_packages=system_site_packages),
890 )
891 for version in _applicable_py_versions()
892 )
893
894
895@contextmanager

Callers

nothing calls this directly

Calls 3

VenvFactoryClass · 0.85
ensure_python_venvFunction · 0.85
_applicable_py_versionsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…