package wheels

import "go.chromium.org/luci/vpython/wheels"

Package wheels includes implementation for installing wheels inside venv from vpython spec.

Index

Functions

func FromSpec

func FromSpec(spec *vpython.Spec, pep425tags generators.Generator) generators.Generator

func MustSetExecutor

func MustSetExecutor(reexec *actions.ReexecRegistry)

func MustSetTransformer

func MustSetTransformer(cipdCacheDir string, ap *actions.ActionProcessor)

func PlatformForPEP425Tag

func PlatformForPEP425Tag(t *vpython.PEP425Tag) template.Platform

PlatformForPEP425Tag returns the CIPD platform inferred from a given Python PEP425 tag.

If the platform could not be determined, an empty string will be returned.

func Verify

func Verify(spec *vpython.Spec) error

Verify the spec for all VerifyPep425Tag listed in the spec. This will ensure all packages existed for these platforms.

TODO: Maybe implement it inside a derivation after we executing cipd binary directly.

Source Files

pep425.go requirements.go verify.go wheels.go

Version
v0.0.0-20250618050616-c2ada05d56bd (latest)
Published
Jun 18, 2025
Platform
linux/amd64
Imports
20 packages
Last checked
2 hours ago

Tools for package owners.