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

Function isPackageManagerEmpty

pkg/python/python.go:500–502  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

498}
499
500// appendVendoringFlags checks for and appends vendored dependency flags to the command.
501func appendVendoringFlags(cmd []string) []string {
502 if vendorDir, isVendored := os.LookupEnv(VendorPipDepsEnv); isVendored {
503 buildermetrics.GlobalBuilderMetrics().GetCounter(buildermetrics.PipVendorDependenciesCounterID).Increment(1)
504 return append(cmd, "--no-index", "--find-links", vendorDir)
505 }

Callers 2

IsUVRequirementsFunction · 0.85
IsUVPyprojectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected