-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathbuildout.cfg
170 lines (153 loc) · 4.51 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
[buildout]
extensions =
mr.developer
extends = versions.cfg
# XXX https://bitbucket.org/pypa/setuptools/issue/133/find-links-should-override-allow-hosts
allow-hosts =
pypi.org
files.pythonhosted.org
*.python.org
github.com
find-links =
https://github.com/Pylons/venusian/tarball/3.0.0#egg=venusian-3.0.0
https://github.com/cobrateam/splinter/tarball/0.15.0#egg=splinter-0.15.0
https://github.com/RDFLib/rdflib/tarball/4.2.2#egg=rdflib-4.2.2
show-picked-versions = true
update-versions-file = versions.cfg
parts =
encoded
production-ini
production
production-indexer
production-visindexer
ckeditor
npm-install
compile-js
test
generate-ontology
aws-ip-ranges
download-annotations
develop = .
sources-dir = develop
auto-checkout = snovault
[sources]
behave = git https://github.com/behave/behave.git
behaving = git https://github.com/ggozad/behaving.git
jsonschema = git https://github.com/lrowe/jsonschema_serialize_fork.git
subprocess_middleware = git https://github.com/lrowe/subprocess_middleware.git
subprocess-middleware-node = git https://github.com/lrowe/subprocess-middleware-node.git egg=false
pyramid = git https://github.com/Pylons/pyramid.git
pyramid_multiauth = git https://github.com/mozilla-services/pyramid_multiauth.git
pytest = hg https://bitbucket.org/hpk42/pytest
rdflib = git https://github.com/RDFLib/rdflib.git branch=patch-1
rdflib-jsonld = git https://github.com/RDFLib/rdflib-jsonld.git branch=patch-1
jsonform = git https://github.com/lrowe/jsonform.git egg=false
webtest = git https://github.com/Pylons/webtest.git
WSGIProxy2 = git https://github.com/lrowe/WSGIProxy2.git
zope.sqlalchemy = git https://github.com/zopefoundation/zope.sqlalchemy.git
pytest-bdd = git https://github.com/lrowe/pytest-bdd.git branch=allow-any-step-order
snovault = git https://github.com/T2DREAM/snovault.git
[versions]
# Hand set versions
pyramid = 1.10.4
# Update .travis.yml and cloud-config.yml when updating buildout
# zc.buildout = 2.9.5
# setuptools = 18.5
# https://github.com/Pylons/venusuian/issues/40
venusian = 3.0.0
# https://github.com/RDFLib/rdflib/issues/492
rdflib = 4.2.2
Pillow = 7.0.0
[encoded]
recipe = zc.recipe.egg
eggs =
SPARQLWrapper
encoded
pyramid
waitress
psycopg2
repoze.debug
rutter
pyramid_translogger
Pillow
interpreter = py
[production-ini]
recipe = collective.recipe.template
input = ${buildout:directory}/production.ini.in
output = ${buildout:directory}/production.ini
accession_factory = encoded.server_defaults.test_accession
file_upload_bucket = t2depi-files-dev
blob_bucket = t2depi-blobs-dev
create_tables = true
snovault.load_test_data = encoded.loadxl:load_test_data
indexer_processes = 16
indexer_chunk_size = 1024
[production]
recipe = collective.recipe.modwsgi
eggs =
encoded
psycopg2
config-file = ${buildout:directory}/production.ini
[production-indexer]
<= production
app_name = indexer
[production-visindexer]
<= production
app_name = visindexer
[ckeditor]
recipe = collective.recipe.cmd
on_install = true
on_update = true
# See http://stackoverflow.com/a/23108309/199100
cmds =
curl https://s3-us-west-1.amazonaws.com/encoded-build/ckeditor/ckeditor_4.5.5_standard.zip | bsdtar -xf- -C src/encoded/static/build/
[generate-ontology]
recipe = collective.recipe.cmd
on_install = true
on_update = true
cmds =
curl -o ontology.json https://s3-us-west-1.amazonaws.com/encoded-build/ontology/ontology-2018-01-25.json
[aws-ip-ranges]
recipe = collective.recipe.cmd
on_install = true
on_update = true
cmds =
curl -o aws-ip-ranges.json https://ip-ranges.amazonaws.com/ip-ranges.json
[npm-install]
recipe = collective.recipe.cmd
on_install = true
on_update = true
cmds = NODE_PATH="" npm_config_cache="" npm install
[glup]
recipe = collective.recipe.cmd
on_install = true
on_update = true
cmds = NODE_PATH="" npm install --save-dev gulp@4
[compile-js]
recipe = collective.recipe.cmd
on_install = true
on_update = true
cmds = NODE_PATH="" npm run build
[test]
recipe = zc.recipe.egg
eggs =
coverage
encoded[test]
psycopg2
pytest
pytest-timeout
pytest-instafail
pytest-cov
pytest-bdd
scripts =
coverage
py.test=test
pytest-bdd
# Avoid ``Unix-domain socket path "..." is too long (maximum 103 bytes)``
initialization = import tempfile; tempfile.tempdir = '/tmp'
[download-annotations]
recipe = collective.recipe.cmd
on_install = true
on_update = true
cmds =
curl -o annotations.json https://s3-us-west-1.amazonaws.com/encoded-build/annotations/annotations_2017_10_10.json