source: main/kofacustom.sampleuni/trunk/buildout.cfg @ 17718

Last change on this file since 17718 was 16349, checked in by Henrik Bettermann, 4 years ago

Add index and pin Kofa 1.6

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