-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildout.cfg
131 lines (102 loc) · 2.68 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
127
128
129
[buildout]
extensions +=
mr.developer
buildout.umask
umask = 002
# avoid common egg cache for this project
eggs-directory = ${buildout:directory}/eggs
# todo: a normal versions.cfg?
extends =
pinned_versions.cfg
versions = versions
show-picked-versions = true
update-versions-file = pinned_versions.cfg
newest = false
always-checkout = force
# external sources pulled by mr.developer, are kept in mr-developer-src/ and ignored by git.
sources-dir = mr-developer-src
parts =
pyramid
dev-inifile
prod-inifile
eggdeps
ipy
yolk
omelette
test
eggs =
ZopeSkel
ipdb
# sources in src are living in the same git repository as this buildout.
develop =
src/testproject
allow-hosts =
*.python.org
auto-checkout =
[sources]
# Examples:
# collective.cachepurger = svn https://svn.headnet.dk/shiny/collective.cachepurger/trunk/
# collective.cachepurger = svn https://svn.headnet.dk/shiny/collective.cachepurger/trunk/@123
# Plone = git ${remotes:plone}/Plone.git branch=4.1
# Plone = git ${remotes:plone}/Plone.git rev=TAG
#
# Example with pushurl - needed to be able to check out read only by non-collective user (a machine user).
# collective.pfgpreview = git ${remotes:collective}/collective.pfgpreview.git pushurl=${remotes:collective_push}/collective.pfgpreview.git
[hosts]
local_host = 127.0.0.1
local_port = 8081
prod_host = 127.0.0.1
prod_port = 8081
[pyramid]
recipe = zc.recipe.egg
dependent-scripts = true
eggs =
ipdb
Paste
pyramid
testproject
interpreter = py
[dev-inifile]
recipe = collective.recipe.template
input = ${buildout:directory}/development.ini.in
output = ${buildout:directory}/development.ini
[prod-inifile]
recipe = collective.recipe.template
input = ${buildout:directory}/production.ini.in
output = ${buildout:directory}/production.ini
[eggdeps]
recipe = zc.recipe.egg
eggs = tl.eggdeps
${buildout:eggs}
${pyramid:eggs}
scripts = eggdeps
[ipy]
# a IPython Shell for interactive use with the eggs from your buildout available
recipe = zc.recipe.egg
eggs =
ipython
${buildout:eggs}
${pyramid:eggs}
initialization =
import sys, os
# buildout is contained in a virtualenv:
os.environ["IPYTHONDIR"] = "${buildout:directory}/.ipython"
scripts = ipython=ipy
[yolk]
recipe = zc.recipe.egg
eggs =
yolk
${buildout:eggs}
${pyramid:eggs}
initialization = import os; os.environ['HOME']='${buildout:directory}'
scripts = yolk
[omelette]
recipe = collective.recipe.omelette
eggs =
${buildout:eggs}
${pyramid:eggs}
[test]
recipe = zc.recipe.testrunner
eggs =
${buildout:eggs}
${pyramid:eggs}