source: main/waeup.uniben/trunk/buildout.cfg @ 17102

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

Disable XMLRPC User 1.

Adjust to base package.

File size: 5.6 KB
RevLine 
[3516]1[buildout]
[8893]2# See http://pypi.python.org/pypi/mr.developer for details
3extensions = mr.developer
4auto-checkout = waeup.kofa kofacustom.nigeria
5# We cannot use 'src' (the default) as the checked out projects won't
6# work properly with paster (paster looks up any upper directory
7# egg-info dirs and then complains about not-available packages).
8sources-dir = sources
9develop = .
[5495]10parts =
11    eggbasket
12    app
13    i18n
14    test
15    mkdirs
16    zpasswd
17    zope_conf
18    site_zcml
19    zdaemon_conf
[11315]20    raw_deploy_ini
21    raw_debug_ini
22    themed_deploy_ini
23    themed_debug_ini
[8035]24    profile_ini
[5495]25    coverage-detect
26    coverage-report
[7825]27# kofactl creation must be _after_ app!
28    kofactl
[11315]29    lxml
30    diazo
[5495]31# For backward compatibility, telling buildout not to throw away
32# the data and log subdirectories from the parts directory.
33    data
34    log
[5660]35# newest = false
[5495]36
[8360]37extends = versions.cfg
[10137]38show-picked-versions = true
39update-versions-file = versions.cfg
[8360]40
[15817]41index = https://pypi.python.org/simple/
42
[5495]43# eggs will be installed in the default buildout location
44# (see .buildout/default.cfg in your home directory)
45# unless you specify an eggs-directory option here.
46
[8893]47[sources]
[11519]48waeup.kofa = svn https://svn.waeup.org/repos/main/waeup.kofa/trunk
49kofacustom.nigeria = svn https://svn.waeup.org/repos/main/kofacustom.nigeria/trunk
[8893]50
[8770]51[kofa_params]
52## Basic parameters for deployment.
53# default is 127.0.0.1
54host = 0.0.0.0
55# default is 8080
56base_port = 7011
57zeo1_port = 7011
58zeo2_port = 7012
59zeo3_port = 7013
60server_port = 7010
61# default 7. Number of pre-opened ZODB threads/client
62pool_size = 7
63# default 20MB. Cache size of each client (ZEO only)
64client_cache = 20MB
65# default 5000. Number of objects cached.
66object_cache = 5000
67# number of preopened paster threads, default 10
68threadpool_workers = 10
[11315]69devel_pkg = waeup.uniben
[8770]70
[3516]71[app]
[7825]72# This creates all scripts in bin/. The kofactl created here is 'faulty'.
[5495]73recipe = zc.recipe.egg
[11315]74eggs = waeup.uniben [beaker, diazo]
[5495]75       z3c.evalexception>=2.0
76       Paste
77       PasteScript
78       PasteDeploy
[8035]79       repoze.profile
80       ZODB3
[8699]81interpreter = python-console
[3516]82
[7825]83[kofactl]
[5503]84# See http://pypi.python.org/pypi/zc.recipe.egg for details...
[7825]85# Here we create the kofactl script again, this time with a
[5503]86# fixed path to zdaemon.conf as argument.
87recipe = zc.recipe.egg
[11315]88eggs = waeup.uniben [beaker, diazo]
[5503]89arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
[7825]90scripts = kofactl=kofactl
[13190]91          kofaexport=kofaexport
[5503]92
[5495]93[mkdirs]
94recipe = z3c.recipe.mkdir
95paths =
96    ${zope_conf:filestorage}
97    ${zope_conf:logfiles}
98    ${zope_conf:blobstorage}
[7587]99    ${buildout:directory}/var/datacenter/media
100    ${buildout:directory}/parts/test/datacenter
[4789]101
[5495]102[test]
103recipe = zc.recipe.testrunner
[8020]104eggs = waeup.uniben [beaker, test]
[5495]105defaults = ['--tests-pattern', '^f?tests$', '-v']
[3516]106
[7695]107# This section named so that the i18n scripts are called bin/i18n...
[5495]108[i18n]
109recipe = z3c.recipe.i18n:i18n
[8020]110packages = waeup.uniben
111eggs = waeup.uniben
112domain = waeup.uniben
113output = src/waeup/uniben/locales
[5495]114zcml =
[4789]115
[5495]116# This section is named so that the zpasswd utility is
117# called `zpasswd`
118[zpasswd]
119recipe = z3c.recipe.dev:script
[8020]120eggs = waeup.uniben
[5495]121module = zope.app.server.zpasswd
122method = main
[3516]123
[5495]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.
[3516]139[data]
140recipe = zc.recipe.filestorage
141
[5495]142[log]
143recipe = zc.recipe.filestorage
[3516]144
[5495]145[site_zcml]
146recipe = collective.recipe.template
147input = etc/site.zcml.in
148output = ${buildout:parts-directory}/etc/site.zcml
[3516]149
[5495]150[zdaemon_conf]
151recipe = collective.recipe.template
152input = etc/zdaemon.conf.in
153output = ${buildout:parts-directory}/etc/zdaemon.conf
154
[11315]155[raw_debug_ini]
[5495]156recipe = collective.recipe.template
[11315]157input = etc/raw/debug.ini.in
158output = ${buildout:parts-directory}/etc/raw-debug.ini
[5495]159
[11315]160[raw_deploy_ini]
[5495]161recipe = collective.recipe.template
[11315]162input = etc/raw/deploy.ini.in
163output = ${buildout:parts-directory}/etc/raw-deploy.ini
[5495]164
[11315]165[themed_debug_ini]
166recipe = collective.recipe.template
167input = etc/themed/debug.ini.in
168output = ${buildout:parts-directory}/etc/themed-debug.ini
169
170[themed_deploy_ini]
171recipe = collective.recipe.template
172input = etc/themed/deploy.ini.in
173output = ${buildout:parts-directory}/etc/themed-deploy.ini
174
[8035]175[profile_ini]
176recipe = collective.recipe.template
177input = etc/profile.ini.in
178output = ${buildout:parts-directory}/etc/profile.ini
179
[5495]180[eggbasket]
181recipe = z3c.recipe.eggbasket
182eggs = grok
183url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz
184
[4789]185# Collect test coverage data.
186[coverage-detect]
187recipe = zc.recipe.testrunner
[8020]188eggs = waeup.uniben[beaker]
[4789]189defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage']
190
191# Create a coverage report.
192# Make sure to run bin/coverage-detect to collect the data for the report
193# first!
194[coverage-report]
195recipe = zc.recipe.egg
196eggs = z3c.coverage
[5226]197scripts = coveragereport
[6398]198arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
[11315]199
200[lxml]
201recipe = z3c.recipe.staticlxml
202egg = lxml
203
204[diazo]
205recipe = zc.recipe.egg
206eggs =
207    diazo [wsgi]
208    PasteScript
209    waeup.uniben [beaker, diazo]
Note: See TracBrowser for help on using the repository browser.