~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 =
6
    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.
7
    filetemplates
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
8
    tags
9
    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.
10
    i18n
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
11
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.
12
eggs-directory = eggs
13
download-cache = download-cache
8234.1.7 by Gary Poster
rocketfuel scripts and download cache are in place now.
14
15
# Disable this option temporarily if you want buildout to find software
16
# dependencies *other* than those in our download-cache.  Once you have the
17
# desired software, reenable this option (and check in the new software to
18
# lp:lp-source-dependencies if this is going to be reviewed/merged/deployed.)
9778.1.33 by Maris Fogels
Revert a buildout setting to the proper value.
19
install-from-cache = true
8234.1.7 by Gary Poster
rocketfuel scripts and download cache are in place now.
20
21
# This also will need to be temporarily disabled or changed for package
22
# upgrades.  Newly-added packages should also add their desired version number
23
# to versions.cfg.
24
extends = versions.cfg
8357.5.2 by Gary Poster
incremental changes to using more eggs
25
9041.6.1 by Gary Poster
take advantage of new buildout features from my dev branch
26
allow-picked-versions = false
27
28
allowed-eggs-from-site-packages =
29
include-site-packages-for-buildout = false
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
30
8357.5.2 by Gary Poster
incremental changes to using more eggs
31
prefer-final = true
32
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
33
develop = .
34
35
[configuration]
36
instance_name = development
37
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.
38
[filetemplates]
39
recipe = z3c.recipe.filetemplate
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
40
eggs = lp
9012.1.9 by Maris Fogels
Added a dependency on windmill for the filetemplate scripts - the jstest.in script template requires it.
41
       windmill
8357.5.2 by Gary Poster
incremental changes to using more eggs
42
# XXX gary 2009-5-12 bug 375751:
43
# Make mailman built and installed in a more normal way.
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.
44
extra-paths = ${buildout:directory}/lib/mailman
45
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.
46
47
[scripts]
48
recipe = zc.recipe.egg
49
eggs = lp
8777.2.3 by Francis J. Lacoste
Update to windmill 1.2
50
    windmill
8911.2.1 by Stuart Bishop
Add funkload 1.10.0 to the Launchpad buildout
51
    funkload
9915.3.1 by Francis J. Lacoste
Add the zc.zservertracelog.tracereport script to the buildout.
52
    zc.zservertracelog
8357.5.2 by Gary Poster
incremental changes to using more eggs
53
# XXX gary 2009-5-12 bug 375751:
54
# 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.
55
extra-paths = ${buildout:directory}/lib/mailman
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.
56
# Note that any indentation is lost in initialization blocks.
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
57
initialization = import os
58
                 os.environ['STORM_CEXTENSIONS'] = '1'
8502.2.3 by Gary Poster
make twistd available in the bin directory with the right paths
59
                 os.environ.setdefault('LPCONFIG', '${configuration:instance_name}')
8697.27.38 by Gary Poster
respond to review by Francis
60
                 # XXX 2009-08-21 gary bug 417077
61
                 # This can hopefully be removed when Twisted is used as an egg.
8697.27.6 by Gary Poster
builds again; more test failures fixed.
62
                 import warnings
8697.27.8 by Gary Poster
reinstate line that got lost in buildout.cfg
63
                 warnings.filterwarnings(
8697.27.6 by Gary Poster
builds again; more test failures fixed.
64
                 'ignore',
65
                 'Module .+ was already imported from .+, but .+ is being added.*',
66
                 UserWarning)
7675.437.1 by Brad Crittenden
Move the mimetypes initialization to buildout.cfg.
67
		 # XXX: BradCrittenden 2009-12-14 bug=496705: A single, well-known entry point
68
		 # for initialization work needs to be created.
69
                 from lp.services.mime import customizeMimetypes
70
                 customizeMimetypes()
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
8514.2.10 by Francis J. Lacoste
Generate a buildout script to run the googletestservice.
72
    googletestservice=canonical.launchpad.testing.googletestservice:main
8777.2.3 by Francis J. Lacoste
Update to windmill 1.2
73
    windmill=windmill.bin.windmill_bin:main
74
    lp-windmill=lp.scripts.utilities.lpwindmill:main
9570.14.1 by Bjorn Tillenius
Use lazr-js as an egg.
75
    jsbuild=lazr.js.build:main
9570.14.3 by Bjorn Tillenius
Make jslint work.
76
    jslint=lazr.js.jslint:main
9915.3.1 by Francis J. Lacoste
Add the zc.zservertracelog.tracereport script to the buildout.
77
    tracereport=zc.zservertracelog.tracereport:main
10348.1.1 by Paul Hummer
Added jssize checker to make sure js doesn't get greater than 512K
78
    jssize=lp.scripts.utilities.jssize:main
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
79
80
[iharness]
81
recipe = zc.recipe.egg
9550.15.1 by Gavin Panella
Make the iharness buildout target look very similar to the scripts target.
82
eggs = ${scripts:eggs}
83
     ipython
84
extra-paths = ${scripts:extra-paths}
85
initialization = ${scripts:initialization}
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
86
entry-points = iharness=canonical.database.harness:ipython
8234.1.3 by Gary Poster
make ipy work as intended
87
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.
88
89
[tags]
90
recipe = z3c.recipe.tag:tags
91
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.
92
93
[i18n]
94
recipe = z3c.recipe.i18n:i18n
95
eggs = lp
96
packages = canonical.launchpad
97
domain = launchpad
98
output = locales
99
zcml = <include file="../../site.zcml" />