~launchpad-pqm/launchpad/devel

14316.1.1 by Brad Crittenden
Revert 14311
1
# Copyright 2009 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.
14316.1.1 by Brad Crittenden
Revert 14311
60
extra-paths = ${buildout:directory}/lib/mailman
10303.1.4 by Gary Poster
use newer version of zc.buildout packages, and slightly simplify the test.in file.
61
include-site-packages = true
62
allowed-eggs-from-site-packages =
10303.1.1 by Gary Poster
use newest version of zc.buildout
63
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.
64
# Note that any indentation is lost in initialization blocks.
10303.1.1 by Gary Poster
use newest version of zc.buildout
65
initialization =
11692.4.1 by Gary Poster
Allow .lpconfig to be honored if initial configuration is "development"
66
    # See buildout.cfg, [scripts] section, "initialization" key.
67
    from lp_sitecustomize import main
68
    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.
69
entry-points = stxdocs=zope.configuration.stxdocs:main
12528.2.9 by Curtis Hovey
Rename lp.services.search to googlesearch.
70
    googletestservice=lp.services.googlesearch.googletestservice:main
9915.3.1 by Francis J. Lacoste
Add the zc.zservertracelog.tracereport script to the buildout.
71
    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.
72
73
[iharness]
10303.1.1 by Gary Poster
use newest version of zc.buildout
74
recipe = z3c.recipe.scripts
9550.15.1 by Gavin Panella
Make the iharness buildout target look very similar to the scripts target.
75
eggs = ${scripts:eggs}
76
     ipython
77
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.
78
include-site-packages = true
79
allowed-eggs-from-site-packages =
9550.15.1 by Gavin Panella
Make the iharness buildout target look very similar to the scripts target.
80
initialization = ${scripts:initialization}
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
81
entry-points = iharness=canonical.database.harness:ipython
8234.1.3 by Gary Poster
make ipy work as intended
82
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.
83
84
[tags]
85
recipe = z3c.recipe.tag:tags
86
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.
87
88
[i18n]
89
recipe = z3c.recipe.i18n:i18n
90
eggs = lp
91
packages = canonical.launchpad
92
domain = launchpad
93
output = locales
94
zcml = <include file="../../site.zcml" />
13995.1.4 by Julian Edwards
Add a buildout recipe for txlongpoll
95
96
[txlongpoll]
97
recipe = z3c.recipe.scripts
98
eggs = ${scripts:eggs}
99
    txlongpoll
100
include-site-packages = false
101
allowed-eggs-from-site-packages =
102
initialization = ${scripts:initialization}
14098.1.1 by Gavin Panella
Depend on txlongpoll 0.2.8 and txlongpollfixture 0.1.3.
103
entry-points = twistd-for-txlongpoll=twisted.scripts.twistd:run
104
scripts = twistd-for-txlongpoll