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
|
# Copyright 2009 Canonical Ltd. This software is licensed under the
# GNU Affero General Public License version 3 (see the file LICENSE).
[buildout]
parts =
yui
scripts
filetemplates
tags
iharness
i18n
unzip = true
eggs-directory = eggs
download-cache = download-cache
yui-directory = yui
relative-paths = true
# Disable this option temporarily if you want buildout to find software
# dependencies *other* than those in our download-cache. Once you have the
# desired software, reenable this option (and check in the new software to
# lp:lp-source-dependencies if this is going to be reviewed/merged/deployed.)
install-from-cache = true
# This also will need to be temporarily disabled or changed for package
# upgrades. Newly-added packages should also add their desired version number
# to versions.cfg.
extends = versions.cfg
allow-picked-versions = false
prefer-final = true
develop = .
[configuration]
instance_name = development
[yui]
recipe = plone.recipe.command
command =
mkdir -p ${buildout:yui-directory}/yui-${versions:yui}
rm -rf ${buildout:yui-directory}/yui-${versions:yui}/*
tar -zxf download-cache/dist/yui-${versions:yui}.tar.gz \
-C ${buildout:yui-directory}/yui-${versions:yui}
ln -s ../../../../${buildout:yui-directory}/yui-${versions:yui} \
lib/canonical/launchpad/icing/yui
[filetemplates]
recipe = z3c.recipe.filetemplate
source-directory = buildout-templates
[scripts]
recipe = z3c.recipe.scripts
eggs = lp
funkload
zc.zservertracelog
# XXX gary 2009-5-12 bug 375751:
# Make mailman built and installed in a more normal way.
extra-paths = ${buildout:directory}/lib/mailman
include-site-packages = true
allowed-eggs-from-site-packages =
interpreter = py
# Note that any indentation is lost in initialization blocks.
initialization =
# See buildout.cfg, [scripts] section, "initialization" key.
from lp_sitecustomize import main
main('${configuration:instance_name}') # Initializes LP environment.
entry-points = stxdocs=zope.configuration.stxdocs:main
googletestservice=lp.services.googlesearch.googletestservice:main
tracereport=zc.zservertracelog.tracereport:main
[iharness]
recipe = z3c.recipe.scripts
eggs = ${scripts:eggs}
ipython
extra-paths = ${scripts:extra-paths}
include-site-packages = true
allowed-eggs-from-site-packages =
initialization = ${scripts:initialization}
entry-points = iharness=canonical.database.harness:ipython
scripts = iharness ipython=ipy
[tags]
recipe = z3c.recipe.tag:tags
eggs = lp
[i18n]
recipe = z3c.recipe.i18n:i18n
eggs = lp
packages = canonical.launchpad
domain = launchpad
output = locales
zcml = <include file="../../site.zcml" />
|