forked from it-spirit/buildout
-
Notifications
You must be signed in to change notification settings - Fork 0
/
common.cfg
110 lines (89 loc) · 2.36 KB
/
common.cfg
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
[buildout]
index = https://pypi.python.org/simple/
develop = .
sphinx_extras =
versions = versions
show-picked-versions = true
extensions +=
mr.developer
sources-dir = checkouts
auto-checkout = *
[i18ndude]
recipe = zc.recipe.egg
eggs = i18ndude
[rebuild_docs-sh]
recipe = collective.recipe.template
input = inline:
#!/bin/bash
cd docs/build
rm -rf doctrees
rm -rf html
make html
cd ../..
output = ${buildout:directory}/bin/rebuild_docs.sh
mode = 755
[rebuild_i18n-sh]
recipe = collective.recipe.template
output = ${buildout:directory}/bin/rebuild_i18n.sh
mode = 755
input = inline:
#! /bin/sh
# see http://maurits.vanrees.org/weblog/archive/2010/10/i18n-plone-4 for more information
I18NDOMAIN="${buildout:package-name}"
# find the locales dir
LOCALES=`find . -type d | grep "${buildout:package-name}" | grep -m 1 "locales"`
SOURCE=`dirname $LOCALES`;
# rebuild pot file for package's domain and merge it with any manual translations needed
bin/i18ndude rebuild-pot --pot $LOCALES/$I18NDOMAIN.pot --create $I18NDOMAIN $SOURCE
bin/i18ndude merge --pot $LOCALES/$I18NDOMAIN.pot --merge $LOCALES/manual.pot
# synchronise translations for package's domain
for po in $LOCALES/*/LC_MESSAGES/$I18NDOMAIN.po; do
bin/i18ndude sync --pot $LOCALES/$I18NDOMAIN.pot $po
done
[releaser]
recipe = zc.recipe.egg:scripts
dependent-scripts = true
eggs =
zest.releaser[recommended]
spirit.releaser
${buildout:package-name}
[sphinxbuilder]
recipe = collective.recipe.sphinxbuilder
eggs =
${buildout:package-name}
sphinx_rtd_theme
${buildout:sphinx_extras}
source = ${buildout:directory}/docs/source
build = ${buildout:directory}/docs/build
[sources]
[versions]
Sphinx = 1.6.5
collective.recipe.sphinxbuilder = 1.0
docutils = 0.14
flake8 = 3.3.0
flake8-blind-except = 0.1.1
flake8-coding = 1.3.0
flake8-debugger = 1.4.0
flake8-deprecated = 1.1
flake8-isort = 2.2.2
flake8-pep3101 = 1.0
flake8-plone-api = 1.2
flake8-plone-hasattr = 0.1
flake8-polyfill = 1.0.1
flake8-print = 2.0.2
flake8-quotes = 0.9.0
flake8-string-format = 0.2.3
flake8-todo = 0.7
isort = 4.2.5
mr.developer =
pkginfo = 1.4.2
pycodestyle = 2.3.1
pygments = 2.2.0
pyroma = 2.2
readme-renderer = 17.2
robotframework-selenium2screenshots = 0.7.2
spirit.releaser =
setuptools =
sphinx-rtd-theme = 0.2.4
zc.buildout =
zest.releaser = 6.14.0