-
Notifications
You must be signed in to change notification settings - Fork 3
/
buildout.cfg
81 lines (64 loc) · 1.73 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
[buildout]
## dump downloaded eggs versions to versions.cfg
versions = versions
show-picked-versions = true
# separate from system
allowed-eggs-from-site-packages = false
extends =
local.cfg
versions.cfg
# by default don't check for update eggs
newest = false
# nifty eggs sharing/caching
# eggs-directory = /home/you/.buildout/eggs
# download-cache = /home/you/.buildout/dlcache
parts =
env
django-prod
django-dev
eggs
supervisor
supervisor-cfg
logrotate-cfg
eggs =
flup # for runfcgi
Fabric # for automate some operations
ipython # django shell with ipython
psycopg2 # postgresql db driver
south # simple migrations for apps
# liquimigrate # or use liquibase to migrations :)
extra-paths = ${buildout:directory}
${buildout:directory}/parts
${buildout:directory}/project
[django-prod]
recipe = djangorecipe
eggs = ${buildout:eggs}
project = project
settings = production
wsgi = true
fcgi = true
extra-paths = ${buildout:extra-paths}
[django-dev]
recipe = djangorecipe
eggs = ${buildout:eggs}
project = project
settings = development
extra-paths = ${buildout:extra-paths}
[env]
recipe = gocept.recipe.env
[eggs]
recipe = zc.recipe.egg
eggs = ${buildout:eggs}
scripts = ipython fab
interpreter = python
extra-paths = ${buildout:extra-paths}
[supervisor]
recipe = zc.recipe.egg
[supervisor-cfg]
recipe = collective.recipe.template
input = ${buildout:directory}/templates/supervisord.conf.in
output = ${buildout:directory}/etc/supervisord.conf
[logrotate-cfg]
recipe = collective.recipe.template
input = ${buildout:directory}/templates/logrotate.conf.in
output = ${buildout:directory}/etc/logrotate.conf