-
Notifications
You must be signed in to change notification settings - Fork 2
/
buildout.cfg
175 lines (157 loc) · 4.38 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
171
172
173
174
[buildout]
extensions =
mr.developer
extends = versions.cfg
# XXX https://bitbucket.org/pypa/setuptools/issue/133/find-links-should-override-allow-hosts
allow-hosts =
*.python.org
github.com
index = https://pypi.python.org/simple/
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 =
snovault
production-ini
production
production-indexer
rubygems
compile-css
ckeditor
npm-install
compile-js
test
aws
aws-ip-ranges
develop = .
sources-dir = develop
auto-checkout = pytest-bdd
[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
rubygemsrecipe = hg https://bitbucket.org/lrowe/rubygemsrecipe
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
[versions]
# Hand set versions
pyramid = 1.6a2
# 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
[snovault]
recipe = zc.recipe.egg
eggs =
SPARQLWrapper
snovault
pyramid
waitress
psycopg2
repoze.debug
rutter
pyramid_translogger
interpreter = py
[aws]
recipe = zc.recipe.egg
eggs =
awscli
[production-ini]
recipe = collective.recipe.template
input = ${buildout:directory}/production.ini.in
output = ${buildout:directory}/production.ini
accession_factory = snowflakes.server_defaults.test_accession
file_upload_bucket = snowflakes-files-dev
blob_bucket = snovault-blobs-dev
indexer_processes =
[production]
recipe = collective.recipe.modwsgi
eggs =
snovault
psycopg2
config-file = ${buildout:directory}/production.ini
[production-indexer]
<= production
app_name = indexer
[rubygems]
recipe = rubygemsrecipe
version = 2.4.5
# Put dependencies first for pinning to work
gems =
sass==3.4.6
chunky_png==1.2.8
fssm==0.2.10
multi_json==1.10.1
compass-core==1.0.1
compass-import-once==1.0.5
rb-fsevent==0.9.4
ffi==1.9.6
rb-inotify==0.9.5
compass==1.0.1
[compile-css]
recipe = collective.recipe.cmd
on_install = true
on_update = true
cmds =
${buildout:directory}/bin/compass compile
[ckeditor]
recipe = collective.recipe.cmd
on_install = true
on_update = true
# See http://stackoverflow.com/a/23108309/199100
#TODO consider moving this to snovault-build
cmds =
curl https://s3-us-west-1.amazonaws.com/encoded-build/ckeditor/ckeditor_4.5.5_standard.zip | bsdtar -xf- -C src/snowflakes/static/build/
[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
[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
snovault[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'