source: main/kofacustom.nigeria/trunk/buildout.cfg @ 17102

Last change on this file since 17102 was 15800, checked in by Henrik Bettermann, 5 years ago

Change text. Diable xmlrpcuser1.

File size: 5.7 KB
Line 
1[buildout]
2# See http://pypi.python.org/pypi/mr.developer for details
3extensions = mr.developer
4# Install waeup.kofa as develop egg
5auto-checkout = waeup.kofa
6sources-dir = sources
7develop = .
8parts =
9    eggbasket
10    app
11    i18n
12    test
13    mkdirs
14    zpasswd
15    zope_conf
16    site_zcml
17    zdaemon_conf
18    raw_deploy_ini
19    raw_debug_ini
20    themed_deploy_ini
21    themed_debug_ini
22    profile_ini
23# waeupdocs
24    coverage-detect
25    coverage-report
26# kofactl creation must be _after_ app!
27    kofactl
28    lxml
29    diazo
30# For backward compatibility, telling buildout not to throw away
31# the data and log subdirectories from the parts directory.
32    data
33    log
34# newest = false
35
36extends = versions.cfg
37show-picked-versions = true
38update-versions-file = versions.cfg
39
40index = https://pypi.python.org/simple/
41
42# eggs will be installed in the default buildout location
43# (see .buildout/default.cfg in your home directory)
44# unless you specify an eggs-directory option here.
45
46[sources]
47waeup.kofa = svn https://svn.waeup.org/repos/main/waeup.kofa/trunk
48[kofa_params]
49## Basic parameters for deployment.
50# default is 127.0.0.1
51host = 0.0.0.0
52# default is 8080
53base_port = 8080
54zeo1_port = 8080
55zeo2_port = 8081
56zeo3_port = 8082
57server_port = 8100
58# default 7. Number of pre-opened ZODB threads/client
59pool_size = 7
60# default 20MB. Cache size of each client (ZEO only)
61client_cache = 20MB
62# default 5000. Number of objects cached.
63object_cache = 5000
64# number of preopened paster threads, default 10
65threadpool_workers = 10
66devel_pkg = kofacustom.nigeria
67
68[app]
69# This creates all scripts in bin/. The kofactl created here is 'faulty'.
70recipe = zc.recipe.egg
71eggs = kofacustom.nigeria [beaker, diazo]
72       z3c.evalexception>=2.0
73       Paste
74       PasteScript
75       PasteDeploy
76       repoze.profile
77       ZODB3
78interpreter = python-console
79
80[kofactl]
81# See http://pypi.python.org/pypi/zc.recipe.egg for details...
82# Here we create the kofactl script again, this time with a
83# fixed path to zdaemon.conf as argument.
84recipe = zc.recipe.egg
85eggs = kofacustom.nigeria [beaker, diazo]
86       waeup.kofa
87arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
88scripts = kofactl=kofactl
89
90[mkdirs]
91recipe = z3c.recipe.mkdir
92paths =
93    ${zope_conf:filestorage}
94    ${zope_conf:logfiles}
95    ${zope_conf:blobstorage}
96    ${buildout:directory}/var/mailqueue/cur
97    ${buildout:directory}/var/mailqueue/tmp
98    ${buildout:directory}/var/mailqueue/new
99    ${buildout:directory}/var/datacenter/media
100    ${buildout:directory}/parts/test/datacenter
101
102[test]
103recipe = zc.recipe.testrunner
104eggs = kofacustom.nigeria [beaker, test]
105defaults = ['--tests-pattern', '^f?tests$', '-v']
106
107# this section named so that the i18n scripts are called bin/i18n...
108[i18n]
109recipe = z3c.recipe.i18n:i18n
110packages = kofacustom.nigeria
111eggs = kofacustom.nigeria
112domain = kofacustom.nigeria
113output = src/kofacustom/nigeria/locales
114zcml =
115
116# This section is named so that the zpasswd utility is
117# called `zpasswd`
118[zpasswd]
119recipe = z3c.recipe.dev:script
120eggs = kofacustom.nigeria
121module = zope.app.server.zpasswd
122method = main
123
124[zope_conf]
125recipe = collective.recipe.template
126input = etc/zope.conf.in
127output = ${buildout:parts-directory}/etc/zope.conf
128filestorage = ${buildout:directory}/var/filestorage
129blobstorage = ${buildout:directory}/var/blobstorage
130logfiles = ${buildout:directory}/var/log
131extra =
132# extra = <grokwarnings>True</grokwarnings>
133# 'extra' is copied verbatim. Use it for product config sections and so.
134
135# The [data] and [log] parts are still in here to instruct buildout to not
136# unintentionally throw away the parts/data and parts/log subdirectories
137# that contain the Data.fs and the log files. These files should be
138# copied to the new locations. See the upgrade notes for more information.
139[data]
140recipe = zc.recipe.filestorage
141
142[log]
143recipe = zc.recipe.filestorage
144
145[mailqueue]
146recipe = zc.recipe.filestorage
147
148[site_zcml]
149recipe = collective.recipe.template
150input = etc/site.zcml.in
151output = ${buildout:parts-directory}/etc/site.zcml
152
153[zdaemon_conf]
154recipe = collective.recipe.template
155input = etc/zdaemon.conf.in
156output = ${buildout:parts-directory}/etc/zdaemon.conf
157
158[raw_debug_ini]
159recipe = collective.recipe.template
160input = etc/raw/debug.ini.in
161output = ${buildout:parts-directory}/etc/raw-debug.ini
162
163[raw_deploy_ini]
164recipe = collective.recipe.template
165input = etc/raw/deploy.ini.in
166output = ${buildout:parts-directory}/etc/raw-deploy.ini
167
168[themed_debug_ini]
169recipe = collective.recipe.template
170input = etc/themed/debug.ini.in
171output = ${buildout:parts-directory}/etc/themed-debug.ini
172
173[themed_deploy_ini]
174recipe = collective.recipe.template
175input = etc/themed/deploy.ini.in
176output = ${buildout:parts-directory}/etc/themed-deploy.ini
177
178[profile_ini]
179recipe = collective.recipe.template
180input = etc/profile.ini.in
181output = ${buildout:parts-directory}/etc/profile.ini
182
183[eggbasket]
184recipe = z3c.recipe.eggbasket
185eggs = grok
186url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz
187
188#[waeupdocs]
189#recipe = collective.recipe.sphinxbuilder
190#eggs = kofacustom.nigeria[docs]
191#source = ${buildout:directory}/docs/source
192#build = ${buildout:directory}/docs/build
193
194# Collect test coverage data.
195[coverage-detect]
196recipe = zc.recipe.testrunner
197eggs = kofacustom.nigeria[beaker]
198defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage']
199
200# Create a coverage report.
201# Make sure to run bin/coverage-detect to collect the data for the report
202# first!
203[coverage-report]
204recipe = zc.recipe.egg
205eggs = z3c.coverage
206scripts = coveragereport
207arguments = ('${buildout:parts-directory}/coverage-detect/coverage', '${buildout:directory}/coverage-report')
208
209[lxml]
210recipe = z3c.recipe.staticlxml
211egg = lxml
212
213[diazo]
214recipe = zc.recipe.egg
215eggs =
216    diazo [wsgi]
217    PasteScript
218    kofacustom.nigeria [beaker,diazo]
Note: See TracBrowser for help on using the repository browser.