Skip to content

idiap/python-packagers

Repository files navigation

Python Packagers Cloud Native Buildpack

The Paketo Buildpack for Python Packagers is a Cloud Native Buildpack that installs packages using the adequate tool selected based on the content of the application sources and makes it available to it.

The buildpack is published for consumption at gcr.io/paketo-buildpacks/python-packagers and paketobuildpacks/python-packagers.

Behavior

This buildpack participates if one of the following detection succeeds:

is present in the root folder.

The buildpack will do the following:

  • At build time:
    • Installs the application packages to a layer made available to the app.
  • At run time:
    • Does nothing

Usage

To package this buildpack for consumption:

$ ./scripts/package.sh --version x.x.x

This will create a buildpackage.cnb file under the build directory which you can use to build your app as follows: pack build <app-name> -p <path-to-app> -b <cpython buildpack> -b <pip buildpack> -b build/buildpackage.cnb -b <other-buildpacks..>.

To run the unit and integration tests for this buildpack:

$ ./scripts/unit.sh && ./scripts/integration.sh

About

Buildpack for Python that consolidate all package managers under one roof.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published