Cloud Foundry buildpack for the Python Language
Shell Python Ruby
Pull request Compare This branch is 412 commits ahead, 12 commits behind heroku:master.
Latest commit ce25f0a Jan 24, 2017 @sesmith177 sesmith177 committed with dgodd Bump version to 1.5.15 [#138168507]
Signed-off-by: Dave Goddard <dave@goddard.id.au>

README.md

Cloud Foundry Python Buildpack

CF Slack Join us on Slack

A Cloud Foundry buildpack for Python based apps.

This is based on the Heroku buildpack.

This buildpack supports running Django and Flask apps.

Buildpack User Documentation

Official buildpack documentation can be found at http://docs.cloudfoundry.org/buildpacks/python/index.html.

Building the Buildpack

  1. Make sure you have fetched submodules

    git submodule update --init
  2. Get latest buildpack dependencies

    BUNDLE_GEMFILE=cf.Gemfile bundle
  3. Build the buildpack

    BUNDLE_GEMFILE=cf.Gemfile bundle exec buildpack-packager [ --uncached | --cached ]
  4. Use in Cloud Foundry

    Upload the buildpack to your Cloud Foundry and optionally specify it by name

    cf create-buildpack custom_python_buildpack python_buildpack-cached-custom.zip 1
    cf push my_app -b custom_python_buildpack

Testing

Buildpacks use the Machete framework for running integration tests.

To test a buildpack, run the following command from the buildpack's directory:

BUNDLE_GEMFILE=cf.Gemfile bundle exec buildpack-build

More options can be found on Machete's Github page.

Contributing

Find our guidelines here.

Help and Support

Join the #buildpacks channel in our Slack community if you need any further assistance.

Reporting Issues

Open a GitHub issue on this project here

Active Development

The project backlog is on Pivotal Tracker