[buildout]

extends =
  ../gcc/buildout.cfg
  ../libatlas/buildout.cfg

version = versions

[numpy-env]
PATH = ${gcc-fortran:location}/bin:%(PATH)s
BLAS = ${libatlas:location}/lib/libcblas.a
LAPACK = ${libatlas:location}/lib/liblapack.a
ATLAS = ${libatlas:location}/lib/libatlas.a

[numpy]
recipe = zc.recipe.egg:custom
egg = numpy
# patched version that supports rpath parameter in zc.recipe.egg:custom.
find-links = http://www.nexedi.org/static/packages/source/numpy-1.8.2nxd001.tar.gz
environment = numpy-env
# no need to add libatlas location because they are statically linked.
rpath =
  ${gcc-fortran:location}/lib
  ${gcc-fortran:location}/lib64

[versions]
# patched version that supports rpath parameter in zc.recipe.egg:custom.
numpy = 1.8.2nxd001