Skip to content

Custom Heroku buildpack for Python with Numpy 1.8.1 and SciPy 0.14.0.

License

Notifications You must be signed in to change notification settings

bgirardeau/heroku-buildpack-scipy

 
 

Repository files navigation

Heroku buildpack: Python, Numpy, Scipy, scikit-learn, and samplerate

This is a Heroku buildpack for Python apps, powered by pip.

This custom buildpack currently supports only NumPy 1.8.1 and SciPy 0.14.0 installations.

Please open a GitHub for any problems encountered or feature requests. If you are interested in seeing a write-up/tutorial for creating this custom buildpack, please let me know in a GitHub issue.

Details

This buildpack only supports:

  • NumPy 1.8.1
  • SciPy 0.14.0

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

If you desire older NumPy or SciPy packages, please take a look at https://github.com/dbrgn/heroku-buildpack-python-sklearn

Usage

For a new app:

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

For an existing app:

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

Demo

$ mkdir testheroku
$ cd testheroku
$ git init
$ heroku create --buildpack https://github.com/bgirardeau/heroku-builpack-scipy
$ echo -e "numpy==1.8.1\nscipy==0.14.0" > requirements.txt
$ git add requirements.txt
$ git commit -m 'Added requirements'
$ git push heroku master

Acknowledgments

This fork is taken from @dbrgn -- I owe thanks to him, @wyn, and others for setting up a lot of the code here.

About

Custom Heroku buildpack for Python with Numpy 1.8.1 and SciPy 0.14.0.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 73.7%
  • Shell 26.3%