This repository has been archived by the owner on Aug 21, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildout_dev.cfg
98 lines (85 loc) · 1.96 KB
/
buildout_dev.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
[buildout]
extends = buildout.cfg
parts += nodejs
nodejs-bin
npm
mu
opts
pip
streamlogger
underscore
[nodejs]
recipe=zc.recipe.cmmi
url=http://nodejs.org/dist/node-v0.4.8.tar.gz #amd64
#url=http://nodejs.org/dist/node-v0.4.9.tar.gz
[nodejs-bin]
recipe=cns.recipe.symlink
symlink =
node
node-waf
symlink_base = ${buildout:parts-directory}/nodejs/bin/
symlink_target = ${buildout:bin-directory}
[pip]
recipe = gp.recipe.pip
virtualenv = .
install =
fabric==1.2.2
nose
lettuce
mock
specloud
git+git://github.com/cobrateam/splinter.git#egg=splinter
django-nose
jinja2
XeroAPI
ipython
[activate]
# prioritize ${buildout:bin-directory} in environment variables
recipe=evg.recipe.activate
[npm]
recipe=collective.recipe.cmd
on_install=true
on_update=false
cmds=
source ${buildout:bin-directory}/activate
curl http://npmjs.org/install.sh | clean=yes sh
uninstall_cmds=
${buildout:bin-directory}/npm uninstall npm -g
[npm-bin]
recipe=collective.recipe.cmd
on_install=true
on_update=true
cmds=
rm ${buildout:bin-directory}/npm*
for f in `grep '#!' ${buildout:directory}/lib/node_modules/npm/bin/* -l`;do
sed -i 's|/usr/bin/env node|${buildout:bin-directory}/node|' $f
done
ln -s ${buildout:directory}/lib/node_modules/npm/bin/npm.js ${buildout:bin-directory}/npm
[mu]
recipe=collective.recipe.cmd
on_install=true
on_update=true
cmds=
${buildout:bin-directory}/npm -g install mu
#uninstall_cmds=
# ${buildout:bin-directory}/npm -g uninstall mu
[opts]
recipe=collective.recipe.cmd
on_install=true
on_update=true
cmds=
${buildout:bin-directory}/npm -g install opts
[streamlogger]
recipe=collective.recipe.cmd
on_install=true
on_update=true
cmds=
${buildout:bin-directory}/npm -g install streamlogger
[underscore]
recipe=collective.recipe.cmd
on_install=true
on_update=true
cmds=
${buildout:bin-directory}/npm -g install underscore
#uninstall_cmds=
# ${buildout:bin-directory}/npm -g uninstall underscore