This is a custom for Python apps that use NumPy and/or SciPy, powered by pip.
This is a derivative of the original, supported versions may diverge over time.
This buildpack currently supports:
NumPy:
SciPy:
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.0 or 1.9.1, 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.
Add the following line to your manifest.yml
buildpack: https://github.com/IBM-Bluemix/python-buildpack-scipy.git
See cf create-buildpack --help
for details.
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
.
This fork is taken from @thenovices.