slaprunner: git repos should'n be always readable by anonymous
[slapos.git] / software / dream / software.cfg
1 [buildout]
2 extends = 
3   ../../stack/slapos.cfg
4   ../../component/numpy/buildout.cfg
5   ../../component/r-language/buildout.cfg
6
7 parts +=
8   rpy2
9   slapos-cookbook
10   dream-build
11   dream
12   instance
13
14 [rpy2_env]
15 PATH = ${r-language:location}/bin/:%(PATH)s
16
17 [rpy2]
18 recipe = zc.recipe.egg:custom
19 environment = rpy2_env
20 egg = rpy2>=2.3,<2.4
21
22 [dream-repository.git]
23 recipe = slapos.recipe.build:gitclone
24 repository = http://git.erp5.org/repos/dream.git
25 branch = master
26 git-executable = ${git:location}/bin/git
27
28 [dream-build]
29 ; use a develop egg to easily develop and because dream already exist on pypi
30 ; https://pypi.python.org/pypi/dream
31 recipe = zc.recipe.egg:develop
32 dependency = ${scipy-build:recipe}
33 setup = ${dream-repository.git:location}
34
35 [dream]
36 recipe = zc.recipe.egg:scripts
37 eggs = dream
38 initialization =
39   # rpy2 needs R in $PATH
40   import os
41   os.environ['PATH'] = '${r-language:location}/bin' + os.pathsep + os.environ['PATH']
42
43 [instance]
44 recipe = slapos.recipe.template
45 url = ${:_profile_base_location_}/instance.cfg
46 output = ${buildout:directory}/instance.cfg
47