buildout.cfg 856 Bytes
Newer Older
Jérome Perrin's avatar
Jérome Perrin committed
1 2
[buildout]
extends =
3
  ../gcc/buildout.cfg
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
4
  ../pcre/buildout.cfg
Jérome Perrin's avatar
Jérome Perrin committed
5
  ../r-language/buildout.cfg
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
6
  ../xz-utils/buildout.cfg
Jérome Perrin's avatar
Jérome Perrin committed
7 8 9 10 11 12

# rpy2 needs R in $PATH
# to use rpy2 you need a wrapper that sets ${r-language:location}/bin in PATH
# see ../manpy/buildout.cfg as an example

[rpy2_env]
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
13
PATH = ${gcc-fortran:location}/bin:${r-language:location}/bin:%(PATH)s
Jérome Perrin's avatar
Jérome Perrin committed
14 15 16 17 18

[rpy2]
recipe = zc.recipe.egg:custom
environment = rpy2_env
egg = rpy2
19 20 21 22
initialization =
  # rpy2 needs R in $PATH
  import os
  os.environ['PATH'] = '${r-language:location}/bin' + os.pathsep + os.environ.get('PATH', '')
23 24 25
rpath =
  ${gcc-fortran:location}/lib
  ${gcc-fortran:location}/lib64
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
26
  ${pcre:location}/lib
27
  ${readline:location}/lib
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
28 29 30
  ${xz-utils:location}/lib
library-dirs =
  ${pcre:location}/lib
31
  ${readline:location}/lib
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
32
  ${xz-utils:location}/lib
33
include-dirs =
34
  ${readline:location}/include