aboutsummaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg30
1 files changed, 28 insertions, 2 deletions
diff --git a/setup.cfg b/setup.cfg
index b949fb6..78e384b 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -35,10 +35,12 @@ include_package_data=True
install_requires =
click
jsonschema
- importlib; python_version == "2.6"
# reuse is optional:
# reuse
+[options.package_data]
+* = *.mo
+
[options.extras_require]
test = pytest
setup = setuptools_scm
@@ -50,4 +52,28 @@ exclude =
[options.entry_points]
console_scripts =
- hydrilla-builder = hydrilla.builder.__main__:perform_build
+ hydrilla-builder = hydrilla.builder.build:perform
+
+[extract_messages]
+keywords = _
+width = 80
+input_dirs = src/hydrilla
+output_file = src/hydrilla/locales/hydrilla_builder.pot
+msgid_bugs_address = koszko@koszko.org
+sort_by_file = True
+copyright_holder = Wojtek Kosior <koszko@koszko.org>
+
+[init_catalog]
+input_file = src/hydrilla/locales/hydrilla_builder.pot
+output_dir = src/hydrilla/locales/
+domain = hydrilla_builder
+
+[update_catalog]
+input_file = src/hydrilla/locales/hydrilla_builder.pot
+output_dir = src/hydrilla/locales/
+domain = hydrilla_builder
+
+[compile_catalog]
+directory = src/hydrilla/locales
+use_fuzzy = True
+domain = hydrilla_builder