From 25f7fcfc23d6bb753bbaa84fa761e026f32262aa Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Tue, 19 Dec 2023 22:42:21 +0900 Subject: [PATCH] Remove translation sections from setup.cfg These translation sections are not needed anymore, Babel can generate translation files without them. This change follows the one made in octavia earlier[1] and also removes a few more sections currently unused. [1] 2f610b953463a3d186ac1e86edd56e93b1115c98 Change-Id: I8c25237cd870e36fe6389a03768a7c7dae4b5661 --- babel.cfg | 2 -- setup.cfg | 23 ----------------------- 2 files changed, 25 deletions(-) delete mode 100644 babel.cfg diff --git a/babel.cfg b/babel.cfg deleted file mode 100644 index 15cd6cb7..00000000 --- a/babel.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[python: **.py] - diff --git a/setup.cfg b/setup.cfg index 954fe980..cb30ba5b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -21,33 +21,10 @@ classifier = Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 -[global] -setup_hooks = - pbr.hooks.setup_hook - [files] packages = octavia_tempest_plugin -[compile_catalog] -directory = octavia_tempest_plugin/locale -domain = octavia_tempest_plugin - -[update_catalog] -domain = octavia_tempest_plugin -output_dir = octavia_tempest_plugin/locale -input_file = octavia_tempest_plugin/locale/octavia_tempest_plugin.pot - -[extract_messages] -keywords = _ gettext ngettext l_ lazy_gettext -mapping_file = babel.cfg -output_file = octavia_tempest_plugin/locale/octavia_tempest_plugin.pot - -[build_releasenotes] -all_files = 1 -build-dir = releasenotes/build -source-dir = releasenotes/source - [entry_points] tempest.test_plugins = octavia-tempest-plugin = octavia_tempest_plugin.plugin:OctaviaTempestPlugin