~justas.sadzevicius/schooltool/flourish

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[buildout]
extends = http://ftp.schooltool.org/schooltool/flourish/versions.cfg
versions = versions
find-links =
    http://ftp.schooltool.org/schooltool/flourish/
    http://ftp.schooltool.org/schooltool/flourish/dev/
parts = package test supervisor celery scripts ctags omelette

[package]
recipe = zc.recipe.egg:eggs
unzip = true
# set eggs to package name in buildout.cfg
eggs =

[scripts]
recipe = zc.recipe.egg:scripts
unzip = true
eggs =
    ${package:eggs}
    celery
    redis
    ZODB3
    schooltool
    schooltool.devtools
    z3c.coverage
scripts = # ZODB3:
          runzeo
          zeopack
          # z3c.coverage:
          coverage
          coveragediff
          # schooltool.devtools:
          i18nextract
          runfdoctests
          # schooltool:
          make-schooltool-instance
          start-schooltool-instance

interpreter = python

[supervisor]
recipe = zc.recipe.egg:scripts
unzip = true
eggs = supervisor
scripts = supervisord
          supervisorctl
          pidproxy
          # Useful script if you want to toy with supervisor settings
          #echo_supervisord_conf
initialization =
    import os
    if os.path.exists('instance'): os.chdir('instance')

[celery]
recipe = zc.recipe.egg:scripts
unzip = true
eggs = schooltool
       celery
       redis
scripts = # celery:
          #celerybeat
          celeryd
          celeryev
          celeryctl
          #camqadm
          #celeryd-multi
initialization =
    import sys, os
    config_dir = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), 'instance')
    if os.path.exists(config_dir): sys.path[0:0] = [config_dir]
    os.environ['CELERY_LOADER'] = 'schooltool.task.celery:ZopeLoader'


[test]
recipe = schooltool.devtools:testrunner
eggs = ${package:eggs}
defaults = ['--tests-pattern', '^f?s?tests$', '-v', '--auto-color']

[ctags]
recipe = z3c.recipe.tag:tags
eggs = ${test:eggs}

[omelette]
recipe = collective.recipe.omelette
eggs = ${package:eggs}
ignores = roman zope.ucol site