MCPcopy Create free account
hub / github.com/GoogleCloudPlatform/buildpacks / Install

Method Install

pkg/python/python.go:686–690  ·  view source on GitHub ↗

Install installs python dependencies locally to the target directory specified by GOOGLE_PIP_TARGET_DIR using uv. This supports the Maker's artifact generation by installing packages into a specific directory unlike the standard buildpack which installs into a virtual environment.

(ctx *gcp.Context, l *libcnb.Layer, reqs ...string)

Source from the content-addressed store, hash-verified

684// MakerUVDependencyInstaller implements the UVDependenciesInstaller interface
685// for the maker tool.
686type MakerUVDependencyInstaller struct {
687 TargetPlatform string
688}
689
690// Install installs python dependencies locally to the target directory
691// specified by GOOGLE_PIP_TARGET_DIR using uv. This supports the Maker's
692// artifact generation by installing packages into a specific directory
693// unlike the standard buildpack which installs into a virtual environment.

Callers

nothing calls this directly

Calls 2

baseuvPipInstallArgsFunction · 0.85

Tested by

no test coverage detected