-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuildout.cfg
103 lines (84 loc) · 2 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
[buildout]
# apt-get install libpq-dev
extends =
http://dist.plone.org/release/4.3.2/versions.cfg
parts =
instance
omelette
scripts
packconfig
releaser
extensions = mr.developer
sources-dir = devsrc
always-accept-server-certificate = true
auto-checkout =
RelStorage
develop = .
versions = versions
[auth]
username_pgsql = zope
password_pgsql = secret
[sources]
RelStorage = git https://github.com/zodb/relstorage.git
[instance]
# plone is perfect to create a use case with a ZODB, some data and to get
# fast some deleted and orphaned data
recipe = plone.recipe.zope2instance
user = admin:admin
rel-storage = ${relstorage:rel-storage}
blob-storage = ${relstorage:blob-storage}
shared-blob = true
eggs =
${relstorage:eggs}
Plone
[scripts]
recipe = zc.recipe.egg:scripts
eggs =
ipdb
${relstorage:eggs}
relstorage_packer
[omelette]
recipe = collective.recipe.omelette
eggs = ${scripts:eggs}
[relstorage]
eggs =
psycopg2
RelStorage
python-memcached
name = relstorage_packer_test
blob-storage = var/blobstorage
# See: https://pypi.python.org/pypi/RelStorage for all options
dsn = dbname='${:name}' host='127.0.0.1' user='${auth:username_pgsql}' password='${auth:password_pgsql}'
rel-storage =
type postgresql
dsn ${:dsn}
keep-history false
shared-blob-dir true
blob-dir ${:blob-storage}
blob-cache-size 512mb
cache-local-mb 0
cache-prefix zodb_${:name}
cache-module-name memcache
cache-servers 127.0.0.1:11211
commit-lock-timeout 600
[packconfig]
recipe = collective.recipe.template
output = ${buildout:directory}/etc/zodbpack.conf
mode = 0600
inline =
<relstorage>
create-schema false
keep-history false
shared-blob-dir true
blob-dir ${relstorage:blob-storage}
commit-lock-timeout 600
<postgresql>
dsn ${relstorage:dsn}
</postgresql>
</relstorage>
[releaser]
recipe = zc.recipe.egg
eggs = zest.releaser
[versions]
zc.buildout = >=2.2.1
setuptools = >=0.7.2