Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Build ¶
Build will return a packit.BuildFunc that will be invoked during the build phase of the buildpack lifecycle.
Build assigns the image a launch process to run the Python REPL.
func Detect ¶
func Detect() packit.DetectFunc
Detect will return a packit.DetectFunc that will be invoked during the detect phase of the buildpack lifecycle.
If this buildpack detects files that indicate your app is a Python project, it will pass detection. It will require "cpython" OR "cpython" and "site-packages" OR "conda-environment" as launch-time build plan requirements, depending on whether it detects files indicating the use of different package managers.
If BP_LIVE_RELOAD_ENABLED=true in the build environment, it will additionally require "watchexec" at launch-time
Types ¶
type BuildPlanMetadata ¶
type BuildPlanMetadata struct { // Launch flag requests the given requirement be made available during the // launch phase of the buildpack lifecycle. Launch bool `toml:"launch"` }
BuildPlanMetadata is the buildpack specific data included in build plan requirements.