-
Notifications
You must be signed in to change notification settings - Fork 2
/
buildout.cfg
104 lines (92 loc) · 2.9 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
[buildout]
extends = versions.cfg
show-picked-versions = true
eggs = Pillow
Sphinx
psycopg2
django
django-filebrowser-no-grappelli-emencia
South
sorl-thumbnail
akismet
django-ckeditor-updated
django-blog-zinnia
django-admin-tools
django-assets
yuicompressor
argparse
docutils
django-mptt
django-debug-toolbar
django-registration
django-simple-captcha
django-braces
rstview
crispy-forms-foundation
djangocodemirror
autobreadcrumbs
sveeaccounts
sveedocuments
djangotribune
parts = env
django-instance
eggedpy
extensions = gp.vcsdevelop
develop-dir = django-apps-src
download-cache = ${env:HOME}/.buildout-eggs
#
# Global Variables
#
[VARS]
NAME = sveetch_net
MAIN_DOMAIN = sveetch.net
DOMAINS = ${:NAME} www.${:NAME}
SETTINGS = settings
GID = www-data
PORT = 8000
[VARS:'gentoo' in platform.linux_distribution()[0].lower()]
GID = nginx
#
# Parts
#
[env]
recipe = collective.recipe.environment
[django-instance]
recipe = djangorecipe
project = project
settings = ${VARS:SETTINGS}
eggs = ${buildout:eggs}
fcgi = true
initialization =
import os
os.environ['DJANGO_SETTINGS_MODULE'] = '${:project}.${VARS:SETTINGS}'
# Custom interpreter that know about installed eggs
[eggedpy]
recipe = zc.recipe.egg:script
eggs = ${buildout:eggs}
interpreter = eggedpy
#
# Optional
# (It is better to install these in the system, to save buildout time.)
#
[pep8]
recipe = zc.recipe.egg
eggs = pep8
[pyflakes]
recipe = zc.recipe.egg
scripts = pyflakes
eggs = pyflakes
entry-points = pyflakes=pkg_resources:run_script
arguments = 'pyflakes', 'pyflakes'
#
# Utilisé par integration/production
#
[static]
recipe = collective.recipe.cmd
on_install = true
on_update = true
cmds = ${buildout:directory}/bin/django-instance collectstatic --pythonpath=project --noinput
[apache]
recipe = collective.recipe.template
input = conf-templates/apache.conf.in
output = ${buildout:directory}/etc/apache.conf