~replaceafill/schooltool/schooltool.rest

« back to all changes in this revision

Viewing changes to base.cfg

  • Committer: Justas Sadzevicius
  • Date: 2013-07-17 13:19:49 UTC
  • Revision ID: justas@pov.lt-20130717131949-dr7gc640jt194lw2
Initial egg with larz.restful hooked up and a simple person schema.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
[buildout]
 
2
extends = http://ftp.schooltool.org/schooltool/trunk/versions.cfg
 
3
versions = versions
 
4
newest = false
 
5
find-links =
 
6
    http://ftp.schooltool.org/schooltool/trunk/
 
7
    http://ftp.schooltool.org/schooltool/trunk/dev/
 
8
parts = package test supervisor celery scripts ctags omelette
 
9
 
 
10
[package]
 
11
recipe = zc.recipe.egg:eggs
 
12
unzip = true
 
13
# set eggs to package name in buildout.cfg
 
14
eggs =
 
15
 
 
16
[scripts]
 
17
recipe = zc.recipe.egg:scripts
 
18
unzip = true
 
19
eggs =
 
20
    ${package:eggs}
 
21
    ZODB3
 
22
    schooltool
 
23
    schooltool.devtools
 
24
scripts = # ZODB3:
 
25
          runzeo
 
26
          zeopack
 
27
          # schooltool.devtools:
 
28
          i18nextract
 
29
          runfdoctests
 
30
          # schooltool:
 
31
          make-schooltool-instance
 
32
          start-schooltool-instance
 
33
          schooltool-server
 
34
 
 
35
interpreter = python
 
36
 
 
37
[supervisor]
 
38
recipe = zc.recipe.egg:scripts
 
39
unzip = true
 
40
eggs = supervisor
 
41
scripts = supervisord
 
42
          supervisorctl
 
43
          pidproxy
 
44
          # Useful script if you want to toy with supervisor settings
 
45
          #echo_supervisord_conf
 
46
initialization =
 
47
    import os
 
48
    if os.path.exists('instance'): os.chdir('instance')
 
49
 
 
50
[celery]
 
51
recipe = zc.recipe.egg:scripts
 
52
unzip = true
 
53
eggs = ${package:eggs}
 
54
       celery
 
55
       redis
 
56
scripts = # celery:
 
57
          #celerybeat
 
58
          celeryd
 
59
          celeryev
 
60
          celeryctl
 
61
          #camqadm
 
62
          #celeryd-multi
 
63
initialization =
 
64
    import sys, os
 
65
    config_dir = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), 'instance')
 
66
    if os.path.exists(config_dir): sys.path[0:0] = [config_dir]
 
67
 
 
68
 
 
69
[test]
 
70
recipe = schooltool.devtools:testrunner
 
71
eggs = ${package:eggs}
 
72
defaults = ['--tests-pattern', '^f?s?tests$', '-v', '--auto-color']
 
73
 
 
74
[ctags]
 
75
recipe = z3c.recipe.tag:tags
 
76
eggs = ${test:eggs}
 
77
 
 
78
[omelette]
 
79
recipe = collective.recipe.omelette
 
80
eggs = ${test:eggs}
 
81
ignores = roman zope.ucol site