Commit fd4db2c9 authored by Jérome Perrin's avatar Jérome Perrin

rpy2: simplify initialisation code

parent 9d06ab97
......@@ -30,8 +30,5 @@ eggs = dream
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', '')
${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', '')
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