(req string)
| 581 | } |
| 582 | |
| 583 | // MakerSysconfigPatcher implements the sysconfigPatcher interface for the maker tool. |
| 584 | type MakerSysconfigPatcher struct{} |
| 585 | |
| 586 | // PatchSysconfig does nothing, as no patching is required for maker. |
| 587 | func (p MakerSysconfigPatcher) PatchSysconfig(ctx *gcp.Context, layer *libcnb.Layer) error { |
| 588 | return nil |
| 589 | } |
| 590 | |
| 591 | func basePipInstallArgs(req string) []string { |
| 592 | return []string{ |
| 593 | "python3", "-m", "pip", "install", |
| 594 | "--requirement", req, |
| 595 | "--upgrade", |
| 596 | "--upgrade-strategy", "only-if-needed", |
| 597 | "--no-warn-script-location", // bin is added at run time by lifecycle. |
| 598 | "--no-warn-conflicts", // Needed for python37 and maker mode which allowed users to override dependencies. For newer versions, we do a separate `pip check`. |
no outgoing calls
no test coverage detected