Commit 1c65153d authored by Jérome Perrin's avatar Jérome Perrin

rpy2: reorganise "initilisation" part for easier reuse

parent 60062d9c
......@@ -31,7 +31,4 @@ environment = manpy-env
setup-eggs =
${scipy:egg}
${rpy2:egg}
initialization =
# rpy2 needs R in $PATH
import os
os.environ['PATH'] = '${r-language:location}/bin' + os.pathsep + os.environ.get('PATH', '')
initialization = ${rpy2:initialization}
......@@ -15,3 +15,7 @@ LDFLAGS = -L${readline:location}/lib -Wl,-rpath=${readline:location}/lib -L${r-l
recipe = zc.recipe.egg:custom
environment = rpy2_env
egg = rpy2
initialization =
# rpy2 needs R in $PATH
import os
os.environ['PATH'] = '${r-language:location}/bin' + os.pathsep + os.environ.get('PATH', '')
......@@ -24,6 +24,8 @@ eggs +=
${pandas:egg}
${scikit-learn:egg}
${manpy:eggs}
initialization += ${manpy:initialization}
[slapos.cookbook-repository]
branch = dream
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment