-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuildout.cfg
45 lines (40 loc) · 1 KB
/
buildout.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[buildout]
extends=versions.cfg
develop = .
parts = test
crate-cmd
scripts
versions = versions
show-picked-versions = true
index = http://pypi.python.org/simple
[scripts]
recipe = zc.recipe.egg:script
relative-paths=true
scripts=app
eggs = ep2014tutorial
initialization = import sys
sys.argv[1:1] = ['${buildout:directory}/etc/app.ini']
[test]
relative-paths=true
recipe = zc.recipe.testrunner
defaults = ['--auto-color']
eggs = ep2014tutorial[test]
[crate]
recipe = hexagonit.recipe.download
url = https://cdn.crate.io/downloads/releases/crate-0.40.2.tar.gz
strip-top-level-dir = true
[crate-cmd]
recipe = collective.recipe.template
output = ${buildout:bin-directory}/crate
mode = 755
inline =
#!/bin/bash
${crate:location}/bin/crate -Des.config='${crate-yml:output}' $@
[crate-yml]
recipe = collective.recipe.template
output = ${buildout:directory}/etc/crate.yml
inline =
path:
logs: ${buildout:directory}/var/logs
data: ${buildout:directory}/var/crate
cluster.name: tutorial