manpy component ( Discrete event simulation python library from DREAM )
Showing
component/manpy/buildout.cfg
0 → 100644
[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', '') |