-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuildout.cfg
86 lines (78 loc) · 2.2 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[buildout]
extends =
sources.cfg
checkouts.cfg
versions.cfg
extensions =
mr.developer
show-picked-versions = true
parts =
pyramid
test
coverage-test
coverage-report
nosecoverage
omelette
checkversions
update-i18n
versions = versions
develop = .
eggs = novaideo
[pyramid]
recipe = zc.recipe.egg
dependent-scripts = true
eggs =
${buildout:eggs}
babel
lingua
lxml
interpreter = py
[test]
recipe = zc.recipe.testrunner
eggs =
novaideo[test]
ecreall_dace[test]
ecreall_pontus[test]
keas.kmi[test]
# cipher.encryptingstorage[test] # takes 9 minutes to execute
defaults = ['--auto-color', '--auto-progress']
[coverage-test]
recipe = zc.recipe.testrunner
eggs = ${test:eggs}
defaults = ['--coverage', '../coverage', '-v', '--auto-progress']
[coverage-report]
recipe = zc.recipe.egg
eggs = z3c.coverage
scripts = coveragereport
arguments = ('parts/coverage', 'parts/report')
[nosecoverage]
recipe = pbp.recipe.noserunner
defaults =
# --with-doctest
--with-coverage
--cover-erase
--with-xunit
--cover-package=dace
# --cover-package=pontus
--cover-html
--cover-html-dir=coverage
eggs = ${test:eggs}
coverage
[omelette]
recipe = collective.recipe.omelette
eggs = ${buildout:eggs}
[checkversions]
recipe = zc.recipe.egg
eggs = z3c.checkversions [buildout]
[update-i18n]
recipe = collective.recipe.template
inline =
#!/bin/bash
${buildout:bin-directory}/pot-create novaideo -d novaideo -o novaideo/locale/novaideo.pot
${buildout:bin-directory}/pot-create src/pontus/pontus -d pontus -o src/pontus/pontus/locale/pontus.pot
${buildout:bin-directory}/pot-create src/dace/dace -d dace -o src/dace/dace/locale/dace.pot
msgmerge novaideo/locale/fr/LC_MESSAGES/novaideo.po novaideo/locale/novaideo.pot -o novaideo/locale/fr/LC_MESSAGES/novaideo.po
msgmerge src/dace/dace/locale/fr/LC_MESSAGES/dace.po src/dace/dace/locale/dace.pot -o src/dace/dace/locale/fr/LC_MESSAGES/dace.po
msgmerge src/pontus/pontus/locale/fr/LC_MESSAGES/pontus.po src/pontus/pontus/locale/pontus.pot -o src/pontus/pontus/locale/fr/LC_MESSAGES/pontus.po
output = ${buildout:bin-directory}/update-i18n.sh
mode = 700