chiark / gitweb /
Merge branch 'master' into 'master'
[fdroidserver.git] / setup.cfg
1
2 # uploading here requires Python 3.5.3+ or setuptools 27+,
3 # use instead: twine upload dist/fdroidserver*.tar.gz*
4 [aliases]
5 release = versioncheck compile_catalog register sdist upload --sign
6
7 # All this below is for Babel config.  Ideally we would only use
8 # Babel, but it is still missing some key features that gettext gives
9 # us.  So for now, this Babel setup is just to make it easy for Python
10 # people who are used to it.  Babel is missing:
11 #
12 # * properly tagging various Python formats in the comments
13 # * --add-location=file
14 # * --join-existing
15 # * --sort-output on update
16 #
17 # So for now the canonical way to update the template and translation
18 # files is: `make -C locale`
19
20 [extract_messages]
21 keywords = _
22 charset = UTF-8
23 sort_output = true
24 no_location = true
25 add-comments = true
26 output_file = locale/fdroidserver.pot
27 msgid-bugs-address = https://gitlab.com/fdroid/fdroidserver/issues
28
29 [update_catalog]
30 output_dir = locale
31 input_file = locale/fdroidserver.pot
32
33 [init_catalog]
34 input_file = locale/fdroidserver.pot
35 output_dir = locale
36
37 [compile_catalog]
38 domain = fdroidserver
39 directory = locale