From d63b2b0263920cbb9a31731868bf0fce544d62b7 Mon Sep 17 00:00:00 2001 From: malei Date: Thu, 14 May 2020 20:11:18 +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: I05cd9dcf68ff329b37b2db824b421c097546442e --- babel.cfg | 1 - lower-constraints.txt | 1 - requirements.txt | 1 - setup.cfg | 14 -------------- 4 files changed, 17 deletions(-) delete mode 100644 babel.cfg diff --git a/babel.cfg b/babel.cfg deleted file mode 100644 index efceab81..00000000 --- a/babel.cfg +++ /dev/null @@ -1 +0,0 @@ -[python: **.py] diff --git a/lower-constraints.txt b/lower-constraints.txt index 32744f74..c279d613 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -1,7 +1,6 @@ alabaster==0.7.10 appdirs==1.3.0 asn1crypto==0.23.0 -Babel==2.3.4 cffi==1.7.0 cliff==2.8.0 cmd2==0.8.0 diff --git a/requirements.txt b/requirements.txt index d7649720..9b2a529f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,6 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. -Babel!=2.4.0,>=2.3.4 # BSD pbr!=2.1.0,>=2.0.0 # Apache-2.0 PrettyTable<0.8,>=0.7.2 # BSD keystoneauth1>=3.4.0 # Apache-2.0 diff --git a/setup.cfg b/setup.cfg index 4556e679..4784eee2 100644 --- a/setup.cfg +++ b/setup.cfg @@ -90,17 +90,3 @@ openstack.clustering.v1 = cluster_run = senlinclient.v1.cluster:ClusterRun cluster_service_list = senlinclient.v1.service:ListService cluster_op = senlinclient.v1.cluster:ClusterOp - -[extract_messages] -keywords = _ gettext ngettext l_ lazy_gettext -mapping_file = babel.cfg -output_file = senlinclient/locale/senlinclient.pot - -[compile_catalog] -directory = senlinclient/locale -domain = senlinclient - -[update_catalog] -domain = senlinclient -output_dir = senlinclient/locale -input_file = senlinclient/locale/senlinclient.pot