Skip to content

trustedanalytics/scipy-python-buildpack

 
 

Repository files navigation

Cloud Foundry Python Buildpack

A Cloud Foundry buildpack for Python based apps with SciPy/NumPy support.

This buildpack incorporates SciPy support implemented in Heroku SciPy buildpack to standard Cloudfoundry Python buildpack. See Heroku SciPy buildpack README for details how to use it and which versions of SciPy/NumPy are supported.

This buildpack supports running Django and Flask apps.

Building the Buildpack

  1. Make sure you have fetched submodules
git submodule update --init
  1. Get latest buildpack dependencies
BUNDLE_GEMFILE=cf.Gemfile bundle
  1. Build the buildpack
BUNDLE_GEMFILE=cf.Gemfile bundle exec buildpack-packager [ --uncached | --cached ]
  1. 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.

About

Python CloudFoundry buildpack with SciPy support

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 78.9%
  • Python 10.7%
  • Ruby 10.2%
  • Makefile 0.2%