From aeb6c67c864f90c47fb39d8855b5298e392b08ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Thu, 8 Jan 2015 13:36:57 +0100 Subject: [PATCH] rpy2 component --- component/rpy2/buildout.cfg | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 component/rpy2/buildout.cfg diff --git a/component/rpy2/buildout.cfg b/component/rpy2/buildout.cfg new file mode 100644 index 0000000000..c6135e1729 --- /dev/null +++ b/component/rpy2/buildout.cfg @@ -0,0 +1,17 @@ +[buildout] +extends = + ../r-language/buildout.cfg + +# 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] +PATH = ${r-language:location}/bin/:%(PATH)s +CFLAGS = -I${readline:location}/include +LDFLAGS = -L${readline:location}/lib -Wl,-rpath=${readline:location}/lib -L${r-language:location}/lib/R/lib -Wl,-rpath=${r-language:location}/lib/R/lib + +[rpy2] +recipe = zc.recipe.egg:custom +environment = rpy2_env +egg = rpy2 -- 2.30.9