Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 1.04 KB

Readme.md

File metadata and controls

28 lines (16 loc) · 1.04 KB

Heroku buildpack: Python

This is a Heroku buildpack for Python apps with support for NumPy, SciPy and scikit-learn.

Build Status

Usage

Example usage:

$ ls
Procfile  requirements.txt  web.py

$ heroku create --stack cedar --buildpack git://github.com/norbert/heroku-buildpack-python.git#numpy

$ git push heroku master
...

You can also add it to upcoming builds of an existing application:

$ heroku config:add BUILDPACK_URL=git://github.com/norbert/heroku-buildpack-python.git#numpy

The NumPy step is triggered if your requirements.txt file contains numpy, which installs a built distribution of numpy==1.7.1 and scipy==0.12.0.

It will use Pip to install your dependencies, vendoring a copy of the Python runtime into your slug.