-
Notifications
You must be signed in to change notification settings - Fork 2
/
buildout.cfg
126 lines (99 loc) · 2.92 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
[buildout]
parts = setup pyramid serve test test-int test-all
newest = false
versions = versions
unzip = true
mode = development
log-level = WARNING
develop = .
extensions = buildout.dumppickedversions
dump-picked-versions-file = versions.cfg
find-links = http://pylonshq.com/download
http://b.pypi.python.org
http://c.pypi.python.org
http://d.pypi.python.org
http://pypi.it.uwosh.edu
http://effbot.org/downloads
#Project
#------------------------------------------------
project = piano
#Locations
#------------------------------------------------
data-directory=data
develop-eggs-directory = ${buildout:eggs-directory}
docs-directory=docs
etc-directory=etc
log-directory=logs
src-directory=src
test-directory=src/${buildout:project}/tests
web-directory=src/${buildout:project}/web
#MongoDB
#------------------------------------------------
mongod-data = ${buildout:data-directory}/mongodb
[versions]
pyramid = 1.3
mongodb = 2.0.3
[setup]
recipe = z3c.recipe.mkdir
paths = logs
data
data/mongodb
[pydev]
recipe = pb.recipes.pydev
eggs = ${pyramid:eggs}
[pyramid]
recipe = zc.recipe.egg
interpreter=python
eggs = pyramid
${buildout:project}
[sphinx]
recipe = collective.recipe.sphinxbuilder
outputs = html
eggs = pyramid
${buildout:project}
[serve]
recipe = zc.recipe.egg
eggs = ${pyramid:eggs}
initialization = sys.argv[1:] = ['--reload', '${buildout:mode}.ini']
scripts = pserve=serve
[test]
<= test-all
scripts=nosetests=test
initialization = sys.argv[1:] = ['--config=${buildout:etc-directory}/tests.unit.rc']
[test-all]
recipe = zc.recipe.egg
scripts=nosetests=test-all
eggs = nose
${pyramid:eggs}
initialization = sys.argv[1:]
[test-int]
<= test-all
scripts=nosetests=test-int
initialization = sys.argv[1:] = ['--config=${buildout:etc-directory}/tests.int.rc']
[mongodb-nix]
recipe = rod.recipe.mongodb
linux2-32bit-url = http://fastdl.mongodb.org/linux/mongodb-linux-i686-${versions:mongodb}.tgz
linux2-64bit-url = http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-${versions:mongodb}.tgz
darwin-32bit-url = http://fastdl.mongodb.org/osx/mongodb-osx-i386-${versions:mongodb}.tgz
darwin-64bit-url = http://fastdl.mongodb.org/osx/mongodb-osx-x86_64-${versions:mongodb}.tgz
script_name=mongod.sh
quiet=false
update=false
fork=false
#logpath = ${buildout:log-directory}/mongodb.log
dbpath = ${buildout:mongod-data}
[mongodb-win32]
recipe = hexagonit.recipe.download
destination=${buildout:parts-directory}/mongodb
hash-name = false
ignore-existing = true
strip-top-level-dir = true
url = http://downloads.mongodb.org/win32/mongodb-win32-i386-${versions:mongodb}.zip
[mongodb-win64]
<=mongodb-win32
url = http://downloads.mongodb.org/win32/mongodb-win32-x86_64-${versions:mongodb}.zip
[mongod-win]
recipe = iw.recipe.cmd
on_install = true
on_update = false
cmds = parts\mongodb\bin\mongod.exe --dbpath ${buildout:mongod-data}