-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathbuildout.cfg
159 lines (144 loc) · 4.02 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
[buildout]
extensions =
mr.developer
extends = versions.cfg
include-site-packages = false
# 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/lrowe/jsonschema/tarball/2.1.0.dev20150513#egg=jsonschema-2.1.0.dev20150513
https://github.com/lrowe/venusian/tarball/1.0.1.dev40#egg=venusian-1.0.1.dev40
https://github.com/lrowe/splinter/tarball/0.7.3.dev20150610#egg=splinter-0.7.3.dev20150610
show-picked-versions = true
update-versions-file = versions.cfg
parts =
clincoded
production-ini
production
production-indexer
rubygems
compile-css
npm-install
grunt
compile-js
test
aws
develop = .
sources-dir = develop
auto-checkout =
[sources]
behave = git https://github.com/behave/behave.git
behaving = git https://github.com/ggozad/behaving.git
jsonschema = git https://github.com/lrowe/jsonschema.git branch=serialize2
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/lrowe/rdflib.git branch=patch-1
rdflib-jsonld = git https://github.com/lrowe/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
# XXX set a unique jsonschema version per tag.
jsonschema = 2.1.0.dev20150513
pyramid = 1.6a1
# Update .travis.yml and cloud-config.yml when updating buildout
zc.buildout = 2.9.5
setuptools = 15.2
# https://github.com/Pylons/venusuian/issues/40
venusian = 1.0.1.dev40
# https://github.com/cobrateam/splinter/pull/410
splinter = 0.7.3.dev20150610
[clincoded]
recipe = zc.recipe.egg
eggs =
clincoded
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 = clincoded.server_defaults.test_accession
file_upload_bucket = clincoded-files-dev
[production]
recipe = collective.recipe.modwsgi
eggs =
clincoded
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.7
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
[npm-install]
recipe = collective.recipe.cmd
on_install = true
on_update = true
cmds = NODE_PATH="" npm_config_cache="" npm install
[grunt]
recipe = collective.recipe.template
input = inline:
#!/bin/sh
export NODE_PATH=${buildout:directory}/node_modules
ulimit -n 1024
exec ${buildout:directory}/node_modules/.bin/grunt $@
output = ${buildout:bin-directory}/grunt
mode = 755
[compile-js]
recipe = collective.recipe.cmd
on_install = true
on_update = true
cmds = ${buildout:bin-directory}/grunt
[test]
recipe = zc.recipe.egg
eggs =
clincoded[test]
psycopg2
pytest
pytest-timeout
pytest-instafail
pytest-cov
pytest-bdd
scripts =
py.test=test
pytest-bdd