~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to buildout.cfg

  • Committer: Gary Poster
  • Date: 2009-04-21 21:01:16 UTC
  • mto: (8329.1.1 buildout2)
  • mto: This revision was merged to the branch mainline in revision 8489.
  • Revision ID: gary.poster@canonical.com-20090421210116-18no9ed8exo6mgs4
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
[buildout]
 
2
parts =
 
3
    scripts
 
4
    test
 
5
    tags
 
6
    iharness
 
7
unzip = true
 
8
 
 
9
develop = .
 
10
 
 
11
[configuration]
 
12
instance_name = development
 
13
 
 
14
[test]
 
15
recipe = zc.recipe.testrunner
 
16
eggs = lp
 
17
defaults = '--tests-pattern ^tests --exit-with-status'.split()
 
18
 
 
19
[scripts]
 
20
recipe = zc.recipe.egg
 
21
eggs = lp
 
22
interpreter = py
 
23
# TODO: make mailman built in a more normal way
 
24
extra-paths = ${buildout:directory}/lib/mailman
 
25
# note that any indentation is lost in initialization blocks
 
26
# TODO: can any of this environ indirection be made more direct?
 
27
initialization = import os
 
28
                 os.environ['STORM_CEXTENSIONS'] = '1'
 
29
                 os.environ['LPCONFIG'] = '${configuration:instance_name}'
 
30
 
 
31
[iharness]
 
32
recipe = zc.recipe.egg
 
33
eggs = lp
 
34
       IPython
 
35
extra-paths = ${buildout:directory}/lib/mailman
 
36
initialization = import os
 
37
                 os.environ['STORM_CEXTENSIONS'] = '1'
 
38
                 os.environ['LPCONFIG'] = '${configuration:instance_name}'
 
39
entry-points = iharness=canonical.database.harness:ipython
 
40
scripts = iharness ipy
 
41
 
 
42
[tags]
 
43
recipe = z3c.recipe.tag:tags
 
44
eggs = lp