matplotlib component
[slapos.git] / component / matplotlib / buildout.cfg
1 [buildout]
2 extends =
3   ../numpy/buildout.cfg
4   ../pkgconfig/buildout.cfg
5   ../libpng/buildout.cfg
6   ../freetype/buildout.cfg
7
8 parts =
9   matplotlib
10
11 [matplotlib-env]
12 <= numpy-env
13 PATH = ${pkgconfig:location}/bin:%(PATH)s
14 PKG_CONFIG_PATH = ${libpng:location}/lib/pkgconfig:${freetype:location}/lib/pkgconfig:${zlib:location}/lib/pkgconfig
15 CFLAGS = -I${libpng:location}/include -I${freetype:location}/include
16
17 [matplotlib]
18 recipe = zc.recipe.egg:custom
19 egg = matplotlib
20 environment = matplotlib-env
21 setup-eggs = ${numpy:egg}
22 rpath =
23   ${libpng:location}/lib
24   ${freetype:location}/lib
25