-
Notifications
You must be signed in to change notification settings - Fork 2
/
buildout.cfg
158 lines (137 loc) · 3.28 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
[buildout]
extends =
https://raw.github.com/collective/buildout.plonetest/master/test-4.3.x.cfg
https://raw.github.com/collective/buildout.plonetest/master/qa.cfg
https://raw.github.com/plone/plone.app.robotframework/master/versions.cfg
versions-4.3.x.cfg
newest = false
show-picked-versions = true
package-name = Products.PloneServicesCenter
package-extras = [test]
eggs +=
Products.PDBDebugMode
Products.PrintingMailHost
aws.zope2zcmldoc
iw.debug
plone.app.debugtoolbar
plone.reload
zptlint
parts +=
instance-sitecustomize
checkversions
dependencychecker
i18ndude
rebuild_i18n-sh
omelette
mkdir-chameleon
# plonesite
# test
# test-dependencies
zopepy
createzopecoverage
coverage
report
[instance]
verbose-security = on
debug-mode = on
event-log-level = debug
eggs +=
${buildout:package-name}
${buildout:eggs}
zcml +=
aws.zope2zcmldoc
iw.debug
${buildout:package-name}
environment-vars =
zope_i18n_compile_mo_files true
CHAMELEON_DEBUG true
[instance-sitecustomize]
recipe = collective.recipe.template
output = ${buildout:bin-directory}/sitecustomize.py
mode = 600
input = inline:
import sys
sys.setdefaultencoding('utf-8')
[checkversions]
recipe = zc.recipe.egg
eggs = z3c.checkversions [buildout]
[dependencychecker]
recipe = zc.recipe.egg
eggs = z3c.dependencychecker
[i18ndude]
recipe = zc.recipe.egg
eggs = i18ndude
[omelette]
recipe = collective.recipe.omelette
eggs = ${instance:eggs}
[code-analysis]
directory = ${buildout:directory}/Products/PloneServicesCenter
pre-commit-hook = True
flake8-ignore = C101,E501,E265,F821,P001
zptlint = True
zptlint-bin = ${buildout:bin-directory}/zptlint
clean-lines = True
deprecated-aliases = True
imports = True
flake8-extensions =
# flake8-blind-except
flake8-coding
flake8-debugger
flake8-quotes
# pep8-naming
flake8-plone-api
[mkdir-chameleon]
recipe = plone.recipe.command
command =
mkdir -p ${buildout:directory}/var/chameleon-cache
rm -Rf ${buildout:directory}/var/chameleon-cache/*
update-command = ${:command}
[plonesite]
recipe = collective.recipe.plonesite
site-id = test
site-replace = true
default-language = es
# Create default plone content like News, Events...
profiles-initial = Products.CMFPlone:plone-content
profiles = Products.PloneServicesCenter:default
[test]
recipe = zc.recipe.testrunner
defaults = ['--auto-color', '--auto-progress']
eggs =
${buildout:package-name} ${buildout:package-extras}
${buildout:test-eggs}
[test-dependencies]
recipe = zc.recipe.testrunner
defaults = ['--auto-color', '--auto-progress']
eggs =
# Products.ArchAddOn [test]
[zopepy]
recipe = zc.recipe.egg
eggs = ${instance:eggs}
interpreter = zopepy
scripts = zopepy
[createzopecoverage]
recipe = createzopecoverage
[coverage]
recipe = zc.recipe.egg
eggs = coverage
initialization =
include = '--source=${buildout:directory}/Products'
sys.argv = sys.argv[:] + ['run', include, 'bin/test', '--all']
[report]
recipe = zc.recipe.egg
eggs = coverage
scripts = coverage=report
initialization =
sys.argv = sys.argv[:] + ['html', '-i']
[robot]
recipe = zc.recipe.egg
eggs =
${test:eggs}
plone.app.robotframework
scripts =
robot-server
robot
[versions]
# use latest version of setuptools
setuptools =