From 8cd3670bddd04cb9f71bbebf06d70fc8f55e3df4 Mon Sep 17 00:00:00 2001 From: melissaml Date: Thu, 14 May 2020 16:54:56 +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: Ic81e52b5cf6c64d752358ab29a1f9a55bf25c88c --- babel.cfg | 2 -- lower-constraints.txt | 1 - requirements.txt | 1 - setup.cfg | 14 -------------- 4 files changed, 18 deletions(-) delete mode 100644 babel.cfg diff --git a/babel.cfg b/babel.cfg deleted file mode 100644 index 15cd6cb76b..0000000000 --- a/babel.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[python: **.py] - diff --git a/lower-constraints.txt b/lower-constraints.txt index e8c38c7b05..81d3320151 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -4,7 +4,6 @@ amqp==2.2.2 appdirs==1.4.3 asn1crypto==0.24.0 astroid==1.6.5 # LGPLv2.1 -Babel==2.3.4 bandit==1.1.0 beautifulsoup4==4.6.0 cachetools==2.0.1 diff --git a/requirements.txt b/requirements.txt index ee9bb7b39d..172fb769ba 100644 --- a/requirements.txt +++ b/requirements.txt @@ -37,7 +37,6 @@ oslo.upgradecheck>=0.1.0 # Apache-2.0 oslo.utils>=3.33.0 # Apache-2.0 oslo.concurrency>=3.26.0 # Apache-2.0 PyMySQL>=0.7.6 # MIT License -Babel!=2.4.0,>=2.3.4 # BSD six>=1.10.0 # MIT stevedore>=1.20.0 # Apache-2.0 oslo.messaging>=5.29.0 # Apache-2.0 diff --git a/setup.cfg b/setup.cfg index c82ab8c167..1b5085d0e5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -58,17 +58,3 @@ oslo.policy.policies = # list_rules method into a separate entry point rather than using the # aggregate method. trove = trove.common.policies:list_rules - -[compile_catalog] -directory = trove/locale -domain = trove - -[update_catalog] -domain = trove -output_dir = trove/locale -input_file = trove/locale/trove.pot - -[extract_messages] -keywords = _ gettext ngettext l_ lazy_gettext -mapping_file = babel.cfg -output_file = trove/locale/trove.pot