This repository is not being maintained anymore
A Cloud Foundry buildpack for Python based apps.
This is based on the [Heroku buildpack] (https://github.com/heroku/heroku-buildpack-python).
This buildpack supports running Django and Flask apps.
This buildpack includes tesseract based on the [tesseract buildpack] (https://github.com/matteotiziano/heroku-buildpack-tesseract).
Official buildpack documentation can be found at http://docs.cloudfoundry.org/buildpacks/python/index.html.
- Make sure you have fetched submodules
git submodule update --init
- Get latest buildpack dependencies
BUNDLE_GEMFILE=cf.Gemfile bundle
- Build the buildpack
BUNDLE_GEMFILE=cf.Gemfile bundle exec buildpack-packager [ --uncached | --cached ]
-
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
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.
Find our guidelines here.
Join the #buildpacks channel in our [Slack community] (http://slack.cloudfoundry.org/) if you need any further assistance.
Open a GitHub issue on this project here
The project backlog is on Pivotal Tracker