From 7557e897dcc460d5287bef694e390746b309ca9d Mon Sep 17 00:00:00 2001
From: "wu.shiming" <wushiming@yovole.com>
Date: Tue, 8 Sep 2020 15:14:04 +0800
Subject: [PATCH] Remove translation sections from setup.cfg

These translation sections are not needed anymore, Babel can
generate translation files without them.

Change-Id: I843baf9428adfcdd159438da1400be86621c201a
---
 babel.cfg        |  1 -
 requirements.txt |  1 -
 setup.cfg        | 13 -------------
 3 files changed, 15 deletions(-)

diff --git a/babel.cfg b/babel.cfg
index efceab8..e69de29 100644
--- a/babel.cfg
+++ b/babel.cfg
@@ -1 +0,0 @@
-[python: **.py]
diff --git a/requirements.txt b/requirements.txt
index edbc558..84fa22e 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -3,7 +3,6 @@
 # process, which may cause wedges in the gate later.
 pbr!=2.1.0,>=2.0.0 # Apache-2.0
 
-Babel!=2.4.0,>=2.3.4 # BSD
 keystoneauth1>=3.4.0 # Apache-2.0
 stevedore>=1.20.0 # Apache-2.0
 requests>=2.14.2 # Apache-2.0
diff --git a/setup.cfg b/setup.cfg
index 7ffb096..95b2410 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -66,16 +66,3 @@ openstack.container_infra.v1 =
     coe_nodegroup_delete = magnumclient.osc.v1.nodegroups:DeleteNodeGroup
     coe_nodegroup_update = magnumclient.osc.v1.nodegroups:UpdateNodeGroup
 
-[compile_catalog]
-directory = magnumclient/locale
-domain = magnumclient
-
-[update_catalog]
-domain = magnumclient
-output_dir = magnumclient/locale
-input_file = magnumclient/locale/magnumclient.pot
-
-[extract_messages]
-keywords = _ gettext ngettext l_ lazy_gettext
-mapping_file = babel.cfg
-output_file = magnumclient/locale/magnumclient.pot
-- 
GitLab