Skip to content

predata/heroku-buildpack-scipy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Heroku buildpack: Python, Numpy, and Scipy

This is a custom Heroku buildpack for Python apps that use NumPy and/or SciPy, powered by pip.

This repo is a repo maintained for use at Predata. If you would like to use something more carefully maintained, please check out the active fork that this is based on at https://github.com/thenovices/heroku-buildpack-scipy

Details

This buildpack currently supports:

NumPy:

  • 1.9.1
  • 1.9.2

SciPy:

  • 0.14.0 (compiled against NumPy 1.9.1)
  • 0.16.0 (compiled against NumPy 1.9.2)

Note: SciPy should be compiled against the right minor version of NumPy, but the patch version doesn't matter, e.g., SciPy 0.15.1 can be compiled against 1.9.1 or 1.9.2, but probably not 1.8. I checked every single case though -- you should run tests (numpy.test() or scipy.test()) if you aren't sure that things will work.

This package will also install compiled runtime libraries for BLAS, LAPACK, ATLAS, and Fortran, which are needed by NumPy and SciPy at runtime.

Usage

For a new app:

heroku create --buildpack https://github.com/predata/heroku-buildpack-scipy

For an existing app:

heroku config:set BUILDPACK_URL=https://github.com/predata/heroku-buildpack-scipy

You must specify your exact desired version in requirements.txt (e.g., numpy==1.9.0). If no version is specified, the latest version available will be used. At this time, this buildpack does not support requirements of the form numpy>=1.8.

About

Custom Heroku buildpack for Python with NumPy and SciPy

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 99.9%
  • Makefile 0.1%