-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuildout.cfg
123 lines (95 loc) · 2 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
[buildout]
develop = .
parts =
app
mkdirs
deploy_ini
deploy_cfg
debug_ini
debug_cfg
test
pep8
pylint
newest = false
versions = versions
[versions]
[server]
host = 0.0.0.0
logfiles = ${buildout:directory}/var/log
port = 2212
[app]
recipe = zc.recipe.egg
eggs =
presence_analyzer
Paste
PasteScript
PasteDeploy
Flask-Mako
lxml
ipdb
interpreter = python-console
[mkdirs]
recipe = z3c.recipe.mkdir
paths =
${server:logfiles}
[deploy_ini]
recipe = collective.recipe.template
input = etc/deploy.ini.in
output = ${buildout:parts-directory}/etc/${:outfile}
outfile = deploy.ini
app = presence_analyzer
workers = 50
spawn_if_under = 5
max_requests = 200
port = 2212
[debug_ini]
<= deploy_ini
outfile = debug.ini
app = presence_analyzer#debug
workers = 1
spawn_if_under = 1
max_requests = 0
port = 5000
[deploy_cfg]
recipe = collective.recipe.template
input = inline:
# Deployment configuration
DEBUG = False
DATA_CSV = "${buildout:directory}/runtime/data/sample_data.csv"
DATA_XML = "${buildout:directory}/runtime/data/users.xml"
output = ${buildout:parts-directory}/etc/deploy.cfg
[debug_cfg]
recipe = collective.recipe.template
input = inline:
# Debugging configuration
DEBUG = True
DATA_CSV = "${buildout:directory}/runtime/data/sample_data.csv"
DATA_XML = "${buildout:directory}/runtime/data/users.xml"
output = ${buildout:parts-directory}/etc/debug.cfg
[test]
recipe = pbp.recipe.noserunner
eggs =
presence_analyzer
Flask-Mako
lxml
ipdb
defaults = -v
[pep8]
recipe = zc.recipe.egg
eggs = pep8
entry-points = pep8check=pep8:_main
dirs = ['${buildout:directory}/src/presence_analyzer']
scripts = pep8
initialization = sys.argv.extend(${pep8:dirs})
[pylint]
recipe = zc.recipe.egg
eggs =
pylint
presence_analyzer
Flask-Mako
lxml
ipdb
scripts = pylint
entry-points = pylint=pylint.lint:Run
dirs = ['${buildout:directory}/src/presence_analyzer']
initialization = sys.argv.extend(${pylint:dirs})