~launchpad-pqm/launchpad/devel

8687.15.10 by Karl Fogel
Add the copyright header block to top-level files.
1
# Copyright 2009 Canonical Ltd.  This software is licensed under the
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
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
12
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.
13
eggs-directory = eggs
14
download-cache = download-cache
13314.4.15 by Ian Booth
Fix yui directory issues
15
yui-directory = yui
10713.1.1 by Gary Poster
use new version of z3c.recipe.filetemplate and zc.buildout fork to use relative paths.
16
relative-paths = true
8234.1.7 by Gary Poster
rocketfuel scripts and download cache are in place now.
17
18
# Disable this option temporarily if you want buildout to find software
19
# dependencies *other* than those in our download-cache.  Once you have the
20
# desired software, reenable this option (and check in the new software to
21
# lp:lp-source-dependencies if this is going to be reviewed/merged/deployed.)
11474.1.2 by Gary Poster
revert temporary change to buildout
22
install-from-cache = true
8234.1.7 by Gary Poster
rocketfuel scripts and download cache are in place now.
23
24
# This also will need to be temporarily disabled or changed for package
25
# upgrades.  Newly-added packages should also add their desired version number
26
# to versions.cfg.
27
extends = versions.cfg
8357.5.2 by Gary Poster
incremental changes to using more eggs
28
9041.6.1 by Gary Poster
take advantage of new buildout features from my dev branch
29
allow-picked-versions = false
30
8357.5.2 by Gary Poster
incremental changes to using more eggs
31
prefer-final = true
32
13314.4.2 by j.c.sackett
jsbuild works.
33
develop = . 
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
34
35
[configuration]
36
instance_name = development
37
13314.5.2 by Ian Booth
Add buildout support
38
[yui]
39
recipe = plone.recipe.command
40
command =
13314.4.16 by Ian Booth
Fix yui packaging
41
    mkdir -p ${buildout:yui-directory}/yui-${versions:yui}
42
    rm -rf ${buildout:yui-directory}/yui-${versions:yui}/*
13314.4.13 by Ian Booth
Move yui tar balls
43
    tar -zxf download-cache/dist/yui-${versions:yui}.tar.gz \
13314.4.16 by Ian Booth
Fix yui packaging
44
        -C ${buildout:yui-directory}/yui-${versions:yui}
13314.4.22 by Ian Booth
Make lazr-js build dir mkdir more robust
45
    mkdir -p lazr-js/build
13365.2.1 by William Grant
Make lazr-js/build/yui a relative symlink, rather than exploding on places like staging which move things around later.
46
    ln -s ../../${buildout:yui-directory}/yui-${versions:yui} lazr-js/build/yui
13314.5.2 by Ian Booth
Add buildout support
47
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.
48
[filetemplates]
49
recipe = z3c.recipe.filetemplate
50
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.
51
52
[scripts]
10303.1.1 by Gary Poster
use newest version of zc.buildout
53
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.
54
eggs = lp
8911.2.1 by Stuart Bishop
Add funkload 1.10.0 to the Launchpad buildout
55
    funkload
9915.3.1 by Francis J. Lacoste
Add the zc.zservertracelog.tracereport script to the buildout.
56
    zc.zservertracelog
8357.5.2 by Gary Poster
incremental changes to using more eggs
57
# XXX gary 2009-5-12 bug 375751:
58
# Make mailman built and installed in a more normal way.
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
59
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.
60
include-site-packages = true
61
allowed-eggs-from-site-packages =
10303.1.1 by Gary Poster
use newest version of zc.buildout
62
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.
63
# Note that any indentation is lost in initialization blocks.
10303.1.1 by Gary Poster
use newest version of zc.buildout
64
initialization =
11692.4.1 by Gary Poster
Allow .lpconfig to be honored if initial configuration is "development"
65
    # See buildout.cfg, [scripts] section, "initialization" key.
66
    from lp_sitecustomize import main
67
    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.
68
entry-points = stxdocs=zope.configuration.stxdocs:main
12528.2.9 by Curtis Hovey
Rename lp.services.search to googlesearch.
69
    googletestservice=lp.services.googlesearch.googletestservice:main
9915.3.1 by Francis J. Lacoste
Add the zc.zservertracelog.tracereport script to the buildout.
70
    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.
71
72
[iharness]
10303.1.1 by Gary Poster
use newest version of zc.buildout
73
recipe = z3c.recipe.scripts
9550.15.1 by Gavin Panella
Make the iharness buildout target look very similar to the scripts target.
74
eggs = ${scripts:eggs}
75
     ipython
76
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.
77
include-site-packages = true
78
allowed-eggs-from-site-packages =
9550.15.1 by Gavin Panella
Make the iharness buildout target look very similar to the scripts target.
79
initialization = ${scripts:initialization}
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
80
entry-points = iharness=canonical.database.harness:ipython
8234.1.3 by Gary Poster
make ipy work as intended
81
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.
82
83
[tags]
84
recipe = z3c.recipe.tag:tags
85
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.
86
87
[i18n]
88
recipe = z3c.recipe.i18n:i18n
89
eggs = lp
90
packages = canonical.launchpad
91
domain = launchpad
92
output = locales
93
zcml = <include file="../../site.zcml" />