-
Notifications
You must be signed in to change notification settings - Fork 0
/
development.cfg
99 lines (84 loc) · 1.92 KB
/
development.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
87
88
89
90
91
92
93
94
95
96
97
98
99
[buildout]
extensions =
mr.developer
buildout.extensionscripts
extends =
cfgs/base.cfg
cfgs/sources.cfg
extension-scripts =
${buildout:directory}/buildout-utils.py:patchScriptGeneration
parts =
repozo
${buildout:base-parts}
instance
i18npy
debugsmtp
omelette
test
checkversions
coverage
report
report-html
always-checkout = true
auto-checkout =
[repozo]
recipe = zc.recipe.egg
eggs = ZODB3
scripts = repozo
[instance-base]
eggs +=
Products.DocFinderTab
plone.reload
[instance]
<= instance-base
http-address = 8080
user = admin:admin
verbose-security = on
[i18npy]
recipe = zc.recipe.egg
eggs = i18ndude
scripts = i18ndude
[zopepy]
eggs = ${instance:eggs}
[debugsmtp]
# Run a simple smtp server on 8025 that echos incoming email
recipe = zc.recipe.egg
eggs = zc.recipe.egg
entry-points = debugsmtp=runpy:run_module
scripts = debugsmtp
initialization =
sys.argv[1:] = ['-n', '-c', 'DebuggingServer', 'localhost:8025']
arguments = 'smtpd', run_name='__main__', alter_sys=True
[omelette]
recipe = collective.recipe.omelette
eggs = ${instance:eggs}
[test]
recipe = collective.xmltestreport
eggs =
${instance:eggs}
defaults = ['--auto-color', '--auto-progress', '-q', '--module', '^policy[.]']
initialization =
import warnings
warnings.simplefilter('ignore', DeprecationWarning)
[checkversions]
recipe = zc.recipe.egg
eggs = z3c.checkversions [buildout]
[coverage]
recipe = zc.recipe.egg
eggs = coverage
initialization =
source = '--source=${buildout:directory}/src'
omit = '--omit=commands.py'
sys.argv = sys.argv[:] + ['run', source, omit, 'bin/test', '--all', '-k', '--xml']
[report]
recipe = zc.recipe.egg
eggs = coverage
scripts = coverage=report
initialization =
sys.argv = sys.argv[:] + ['xml', '-i']
[report-html]
recipe = zc.recipe.egg
eggs = coverage
scripts = coverage=report-html
initialization =
sys.argv = sys.argv[:] + ['html', '-i']