forked from devilry/devilry-django
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevelopment-base.cfg
136 lines (112 loc) · 3.85 KB
/
development-base.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
127
128
129
130
131
132
133
134
135
136
# Base buildout for development. See devenv/ for how to extend it,
# and copy devenv/ if you want to experiment with new settings.
[buildout]
extends = buildout-base.cfg
parts +=
create_init_py
settings_dev
django_dev
settings_noextjsdebug
django_noextjsdebug
settings_extjsbuild
django_extjsbuild
omelette
sphinxbuilder
eggs +=
selenium
dingus
pyyaml
fabric
devilry_developer
devilry_sandbox
django-extensions
Werkzeug
ipython
readline
# django-rosetta
watchdog
django_devserver
whoosh
[versions]
# NOTE: This section extends buildout-base.cfg versions
dingus = 0.3.3
hexagonit.recipe.download = 1.5.0
django-rosetta = 0.6.8
Whoosh = 2.4.1
# Fabric and requirements
fabric = 1.4.2
pycrypto = 2.6
ssh = 1.7.14
[sphinxbuilder]
recipe = collective.recipe.sphinxbuilder
source = ${buildout:reporoot-directory}/docs
build = ${buildout:directory}/parts/docs
interpreter = ${buildout:bin-directory}/pythonwrapper
# Create the log/ dir if it does not exist
[create_dirs]
recipe = z3c.recipe.mkdir
paths = log
[omelette]
recipe = collective.recipe.omelette
eggs = ${buildout:eggs}
[sources]
# Extends sources in buildout-base.cfg with apps/libs that are under
# development, locally in this repo, or in external git repos
#django_extjs4 = git https://github.com/espenak/django_extjs4.git [email protected]:espenak/django_extjs4.git
#djangosenchatools = git [email protected]:espenak/djangosenchatools.git
#django_seleniumhelpers = git https://github.com/espenak/django_seleniumhelpers.git [email protected]:espenak/django_seleniumhelpers.git
#solr_recipe = git https://github.com/espenak/solr_recipe.git [email protected]:espenak/solr_recipe.git
devilry_developer = fs devilry_developer
devilry_sandbox = fs devilry_sandbox
django_devserver = git https://github.com/dcramer/django-devserver.git rev=0.4.0
#################################################################
#
# Autogenerate django setting files, and wrappers for manange.py
# - Each wrapper is configured with its own settings file, which
# we generate in the ``settings_*`` sections. Each settings
# file is just thin wrappers that define the settings that
# have to be relative to the current working directory
#
#################################################################
# __init__.py is required to be able to import the settings-modules we create below
[create_init_py]
recipe = devilry_developer:staticfile
path = ${buildout:directory}/__init__.py
# bin/django_dev.py: the replacement for ``manage.py`` for normal development
# tasks, like ``runserver`` and ``test``
[settings_dev]
recipe = devilry_developer:settingsfile
path = ${buildout:directory}/settings_dev.py
basemodule = devilry_developer.settings.base
[django_dev]
recipe = djangoprojectrecipe
settings = settings_dev
eggs = ${buildout:eggs}
extra-paths = ${buildout:directory}
control-script = django_dev.py
# django_noextjsdebug: Use this to run ExtJS in production mode.
# - For demos and cross-device/cross-platform production testing::
#
# bin/django_noextjsdebug.py runserver 0.0.0.0:9000 --insecure
#
[settings_noextjsdebug]
recipe = devilry_developer:settingsfile
path = ${buildout:directory}/settings_noextjsdebug.py
basemodule = devilry_developer.settings.noextjsdebug
[django_noextjsdebug]
recipe = djangoprojectrecipe
settings = settings_noextjsdebug
eggs = ${buildout:eggs}
extra-paths = ${buildout:directory}
control-script = django_noextjsdebug.py
# django_extjsbuild: Used when we build ExtJS apps.
[settings_extjsbuild]
recipe = devilry_developer:settingsfile
path = ${buildout:directory}/settings_extjsbuild.py
basemodule = devilry_developer.settings.extjsbuild
[django_extjsbuild]
recipe = djangoprojectrecipe
settings = settings_extjsbuild
eggs = ${buildout:eggs}
extra-paths = ${buildout:directory}
control-script = django_extjsbuild.py