[buildout]

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

[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
environment = numpy-env
# no need to add libatlas location because they are statically linked.
rpath =
  ${gcc-fortran:location}/lib
  ${gcc-fortran:location}/lib64