From 644a19d38e0d01c14792e69c07503114544845d0 Mon Sep 17 00:00:00 2001 From: gugug Date: Sat, 23 May 2020 17:07:33 +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: Idbd4f0b3565de74aa40a054ee6e98699422a0095 --- babel.cfg | 2 -- lower-constraints.txt | 1 - setup.cfg | 14 -------------- 3 files changed, 17 deletions(-) delete mode 100644 babel.cfg diff --git a/babel.cfg b/babel.cfg deleted file mode 100644 index 15cd6cb76..000000000 --- a/babel.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[python: **.py] - diff --git a/lower-constraints.txt b/lower-constraints.txt index 3938a5b22..c7c99185a 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -4,7 +4,6 @@ amqp==2.1.1 appdirs==1.3.0 asn1crypto==0.23.0 astroid==1.3.8 -Babel==2.3.4 beautifulsoup4==4.6.0 cachetools==2.0.0 cffi==1.7.0 diff --git a/setup.cfg b/setup.cfg index f7d00d49b..ca198ec6c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -46,17 +46,3 @@ oslo.policy.policies = neutron-vpnaas = neutron_vpnaas.policies:list_rules neutron.policies = neutron-vpnaas = neutron_vpnaas.policies:list_rules - -[extract_messages] -keywords = _ gettext ngettext l_ lazy_gettext -mapping_file = babel.cfg -output_file = neutron_vpnaas/locale/neutron_vpnaas.pot - -[compile_catalog] -directory = neutron_vpnaas/locale -domain = neutron_vpnaas - -[update_catalog] -domain = neutron_vpnaas -output_dir = neutron_vpnaas/locale -input_file = neutron_vpnaas/locale/neutron_vpnaas.pot