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

Function IsPipPyproject

pkg/python/pyproject.go:546–548  ·  view source on GitHub ↗

IsPipPyproject checks if the application is a pip pyproject.

(ctx *gcp.Context)

Source from the content-addressed store, hash-verified

544// PipInstallPyproject installs dependencies from a pyproject.toml file in the current directory.
545func PipInstallPyproject(ctx *gcp.Context, l *libcnb.Layer) error {
546 ctx.Logf("Installing application dependencies from pyproject.toml.")
547 currentPythonVersion, err := Version(ctx)
548 if err != nil {
549 return err
550 }
551 hash, cached, err := cache.HashAndCheck(ctx, l, dependencyHashKey,

Callers 3

DetectFnFunction · 0.92
BuildFnFunction · 0.92
TestIsPipPyprojectFunction · 0.85

Calls 4

IsGCPFunction · 0.92
IsGCFFunction · 0.92
IsPyprojectEnabledFunction · 0.85

Tested by 1

TestIsPipPyprojectFunction · 0.68