source: main/waeup.kwarapoly/trunk/buildout.cfg @ 17935

Last change on this file since 17935 was 11517, checked in by Henrik Bettermann, 11 years ago

Continue development. Use kofa-scrollto script.

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