diff --git a/component/manpy/buildout.cfg b/component/manpy/buildout.cfg new file mode 100644 index 0000000000000000000000000000000000000000..73e9a7916cd2e5b42eb3480b641adbdfcd730385 --- /dev/null +++ b/component/manpy/buildout.cfg @@ -0,0 +1,37 @@ +[buildout] +extends = + ../scipy/buildout.cfg + ../rpy2/buildout.cfg + ../git/buildout.cfg + +parts = + manpy + +[dream-repository.git] +recipe = slapos.recipe.build:gitclone +repository = http://git.erp5.org/repos/dream.git +branch = master +git-executable = ${git:location}/bin/git +develop = true + +[dream-build] +; use a develop egg to easily develop and because dream already exist on pypi +; https://pypi.python.org/pypi/dream +recipe = zc.recipe.egg:develop +setup = ${dream-repository.git:location} + +[manpy-env] +<= numpy-env + +[manpy] +dependency = ${dream-build:setup} +recipe = zc.recipe.egg:script +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', '')