-
Notifications
You must be signed in to change notification settings - Fork 9
/
buildout.cfg
123 lines (103 loc) · 3.35 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
# This buildout can be used to obtain a complete test system from scratch:
#
# virtualevnv --no-site-packages .
# source bin/activate
# python bootstrap.py
# bin/buildout
# bin/instance start
#
[buildout]
extends = http://dist.plone.org/release/4.3.19/versions.cfg
index = https://pypi.python.org/simple/
find-links =
http://dist.plone.org/release/4.3.19
http://dist.plone.org/thirdparty
parts =
instance
i18ndude
update_translations
write_code_headers
lxml
test
omelette
eggs =
senaite.jsonapi
senaite.lims
senaite.core
plone.reload
i18ndude
lxml
zcml =
versions = versions
extensions = mr.developer
eggs-directory = ${buildout:directory}/eggs
download-cache = ~/.buildout/downloads
sources = sources
auto-checkout = *
develop = .
[sources]
senaite.core = git git://github.com/senaite/senaite.core.git [email protected]:senaite/senaite.core.git branch=1.3.x
senaite.core.listing = git git://github.com/senaite/senaite.core.listing.git [email protected]:senaite/senaite.core.listing.git branch=1.x
senaite.core.spotlight = git git://github.com/senaite/senaite.core.spotlight.git [email protected]:senaite/senaite.core.spotlight.git branch=1.x
senaite.core.supermodel = git git://github.com/senaite/senaite.core.supermodel.git [email protected]:senaite/senaite.core.supermodel.git branch=1.x
senaite.impress = git git://github.com/senaite/senaite.impress.git [email protected]:senaite/senaite.impress.git branch=1.x
senaite.jsonapi = git git://github.com/senaite/senaite.jsonapi.git [email protected]:senaite/senaite.jsonapi.git branch=1.x
senaite.lims = git git://github.com/senaite/senaite.lims.git [email protected]:senaite/senaite.lims.git branch=1.x
[instance]
recipe = plone.recipe.zope2instance
user = admin:admin
http-address = 0.0.0.0:8080
eggs =
${buildout:eggs}
zcml =
${buildout:zcml}
environment-vars =
zope_i18n_compile_mo_files true
[i18ndude]
unzip = true
recipe = zc.recipe.egg
eggs = i18ndude
[update_translations]
recipe = collective.recipe.template
output = ${buildout:directory}/bin/update_translations_queue
input = ${buildout:directory}/templates/update_translations.in
mode = 755
[write_code_headers]
recipe = collective.recipe.template
output = ${buildout:directory}/bin/write_code_headers_queue
input = ${buildout:directory}/templates/write_code_headers.py.in
mode = 755
[lxml]
recipe = z3c.recipe.staticlxml
egg = lxml==4.2.1
force = false
static-build = true
[test]
recipe = zc.recipe.testrunner
defaults = ['--auto-color', '--auto-progress']
eggs =
senaite.queue [test]
[omelette]
recipe = collective.recipe.omelette
eggs = ${buildout:eggs}
# Please download ipy_profile_zope to ~/.ipython/profile_zope/startup/ipy_profile_zope.py
# https://raw.githubusercontent.com/collective/dotipython/master/ipy_profile_zope.py
# cd ~/.ipython/profile_zope/startup/ && wget https://raw.githubusercontent.com/collective/dotipython/master/ipy_profile_zope.py
# Run ./bin/ipzope
[ipzope]
recipe = zc.recipe.egg
eggs =
ipython
${instance:eggs}
initialization =
import sys, os
os.environ["SOFTWARE_HOME"] = "${instance:location}"
os.environ["INSTANCE_HOME"] = "${instance:location}"
sys.argv[1:1] = "--profile zope".split()
extra-paths =
${instance:location}/lib/python
scripts = ipython=ipzope
[versions]
setuptools=
zc.buildout=
zipp = <2.0.0