~launchpad-pqm/launchpad/devel

14339.1.1 by mbp at canonical
Delete canonical.buildd again
1
# Copyright 2009-2011 Canonical Ltd.  This software is licensed under the
8687.15.10 by Karl Fogel
Add the copyright header block to top-level files.
2
# GNU Affero General Public License version 3 (see the file LICENSE).
3
8687.15.29 by Karl Fogel
Fix some problems:
4
[buildout]
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
5
parts =
13314.5.2 by Ian Booth
Add buildout support
6
    yui
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
7
    scripts
8234.1.4 by Gary Poster
test works, nominally; and bin/py is a bit more functional. problems with import warnings are more serious because they cause tests to fail.
8
    filetemplates
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
9
    tags
10
    iharness
8234.1.4 by Gary Poster
test works, nominally; and bin/py is a bit more functional. problems with import warnings are more serious because they cause tests to fail.
11
    i18n
13995.1.4 by Julian Edwards
Add a buildout recipe for txlongpoll
12
    txlongpoll
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
13
unzip = true
8357.5.4 by Gary Poster
make bootstrap use the local downloaded version of zc.buildout. This should eliminate the last bit of network access on deployment boxes--and on development boxes, once setuptools is installed properly.
14
eggs-directory = eggs
15
download-cache = download-cache
13314.4.15 by Ian Booth
Fix yui directory issues
16
yui-directory = yui
10713.1.1 by Gary Poster
use new version of z3c.recipe.filetemplate and zc.buildout fork to use relative paths.
17
relative-paths = true
8234.1.7 by Gary Poster
rocketfuel scripts and download cache are in place now.
18
19
# Disable this option temporarily if you want buildout to find software
20
# dependencies *other* than those in our download-cache.  Once you have the
21
# desired software, reenable this option (and check in the new software to
22
# lp:lp-source-dependencies if this is going to be reviewed/merged/deployed.)
11474.1.2 by Gary Poster
revert temporary change to buildout
23
install-from-cache = true
8234.1.7 by Gary Poster
rocketfuel scripts and download cache are in place now.
24
25
# This also will need to be temporarily disabled or changed for package
26
# upgrades.  Newly-added packages should also add their desired version number
27
# to versions.cfg.
28
extends = versions.cfg
8357.5.2 by Gary Poster
incremental changes to using more eggs
29
9041.6.1 by Gary Poster
take advantage of new buildout features from my dev branch
30
allow-picked-versions = false
31
8357.5.2 by Gary Poster
incremental changes to using more eggs
32
prefer-final = true
33
13314.10.3 by Ian Booth
Lint
34
develop = .
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
35
36
[configuration]
37
instance_name = development
38
13314.5.2 by Ian Booth
Add buildout support
39
[yui]
40
recipe = plone.recipe.command
41
command =
13314.4.16 by Ian Booth
Fix yui packaging
42
    mkdir -p ${buildout:yui-directory}/yui-${versions:yui}
43
    rm -rf ${buildout:yui-directory}/yui-${versions:yui}/*
13314.4.13 by Ian Booth
Move yui tar balls
44
    tar -zxf download-cache/dist/yui-${versions:yui}.tar.gz \
13314.4.16 by Ian Booth
Fix yui packaging
45
        -C ${buildout:yui-directory}/yui-${versions:yui}
13398.1.1 by William Grant
Revert reversion of r13370.
46
    ln -s ../../../../${buildout:yui-directory}/yui-${versions:yui} \
13314.10.1 by Ian Booth
Move lazr widgets up from lazr dir and remove lazr build steps
47
        lib/canonical/launchpad/icing/yui
13314.5.2 by Ian Booth
Add buildout support
48
8234.1.4 by Gary Poster
test works, nominally; and bin/py is a bit more functional. problems with import warnings are more serious because they cause tests to fail.
49
[filetemplates]
50
recipe = z3c.recipe.filetemplate
51
source-directory = buildout-templates
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
52
53
[scripts]
10303.1.1 by Gary Poster
use newest version of zc.buildout
54
recipe = z3c.recipe.scripts
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
55
eggs = lp
8911.2.1 by Stuart Bishop
Add funkload 1.10.0 to the Launchpad buildout
56
    funkload
9915.3.1 by Francis J. Lacoste
Add the zc.zservertracelog.tracereport script to the buildout.
57
    zc.zservertracelog
8357.5.2 by Gary Poster
incremental changes to using more eggs
58
# XXX gary 2009-5-12 bug 375751:
59
# Make mailman built and installed in a more normal way.
14339.1.1 by mbp at canonical
Delete canonical.buildd again
60
extra-paths = 
61
    ${buildout:directory}/lib/mailman
62
    /usr/lib/launchpad-buildd
10303.1.4 by Gary Poster
use newer version of zc.buildout packages, and slightly simplify the test.in file.
63
include-site-packages = true
64
allowed-eggs-from-site-packages =
10303.1.1 by Gary Poster
use newest version of zc.buildout
65
interpreter = py
9641.1.1 by Gary Poster
this is the basic fix. I should also change _pythonpath.py.in, but I may do that later, because it may be trickier.
66
# Note that any indentation is lost in initialization blocks.
10303.1.1 by Gary Poster
use newest version of zc.buildout
67
initialization =
11692.4.1 by Gary Poster
Allow .lpconfig to be honored if initial configuration is "development"
68
    # See buildout.cfg, [scripts] section, "initialization" key.
69
    from lp_sitecustomize import main
70
    main('${configuration:instance_name}') # Initializes LP environment.
8234.1.4 by Gary Poster
test works, nominally; and bin/py is a bit more functional. problems with import warnings are more serious because they cause tests to fail.
71
entry-points = stxdocs=zope.configuration.stxdocs:main
12528.2.9 by Curtis Hovey
Rename lp.services.search to googlesearch.
72
    googletestservice=lp.services.googlesearch.googletestservice:main
9915.3.1 by Francis J. Lacoste
Add the zc.zservertracelog.tracereport script to the buildout.
73
    tracereport=zc.zservertracelog.tracereport:main
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
74
75
[iharness]
10303.1.1 by Gary Poster
use newest version of zc.buildout
76
recipe = z3c.recipe.scripts
9550.15.1 by Gavin Panella
Make the iharness buildout target look very similar to the scripts target.
77
eggs = ${scripts:eggs}
78
     ipython
79
extra-paths = ${scripts:extra-paths}
10303.1.4 by Gary Poster
use newer version of zc.buildout packages, and slightly simplify the test.in file.
80
include-site-packages = true
81
allowed-eggs-from-site-packages =
9550.15.1 by Gavin Panella
Make the iharness buildout target look very similar to the scripts target.
82
initialization = ${scripts:initialization}
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
83
entry-points = iharness=canonical.database.harness:ipython
8234.1.3 by Gary Poster
make ipy work as intended
84
scripts = iharness ipython=ipy
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
85
86
[tags]
87
recipe = z3c.recipe.tag:tags
88
eggs = lp
8234.1.4 by Gary Poster
test works, nominally; and bin/py is a bit more functional. problems with import warnings are more serious because they cause tests to fail.
89
90
[i18n]
91
recipe = z3c.recipe.i18n:i18n
92
eggs = lp
93
packages = canonical.launchpad
94
domain = launchpad
95
output = locales
96
zcml = <include file="../../site.zcml" />
13995.1.4 by Julian Edwards
Add a buildout recipe for txlongpoll
97
98
[txlongpoll]
99
recipe = z3c.recipe.scripts
100
eggs = ${scripts:eggs}
101
    txlongpoll
102
include-site-packages = false
103
allowed-eggs-from-site-packages =
104
initialization = ${scripts:initialization}
14098.1.1 by Gavin Panella
Depend on txlongpoll 0.2.8 and txlongpollfixture 0.1.3.
105
entry-points = twistd-for-txlongpoll=twisted.scripts.twistd:run
106
scripts = twistd-for-txlongpoll