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

Function PipTargetDir

pkg/python/python.go:336–342  ·  view source on GitHub ↗

PipTargetDir returns the target directory for installing python dependencies.

()

Source from the content-addressed store, hash-verified

334 }
335 return gcp.UserErrorf("found incompatible dependencies: %q", result.Stdout)
336}
337
338// MakerPipInstaller implements the PipInstaller interface for the maker tool.
339type MakerPipInstaller struct {
340 TargetPlatform string
341}
342
343// PipTargetDir returns the target directory for installing python dependencies.
344func PipTargetDir() string {
345 targetDir := os.Getenv(env.PipTargetDir)

Callers 2

adaptMethod · 0.85
resolvePipTargetPathsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected