From 3e9ecdeead716b06b669517d1c1ba70d73fd1fd9 Mon Sep 17 00:00:00 2001 From: "wu.chunyang" Date: Fri, 3 Jul 2020 22:08:23 +0800 Subject: [PATCH] Remove translation sections from setup.cfg These translation sections are not needed anymore, Babel can generate translation files without them. Remove babel.cfg as well, this is the default role and not needed anymore. also remove Babel from requirements[1] [1] http://lists.openstack.org/pipermail/openstack-discuss/2020-April/014227.html Change-Id: I106c408a394ce8018c11560a60fe1a160b898ec3 --- babel.cfg | 1 - lower-constraints.txt | 1 - setup.cfg | 14 -------------- 3 files changed, 16 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 e5f464de..c7cd2f20 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -1,6 +1,5 @@ alabaster==0.7.10 appdirs==1.4.3 -Babel==2.5.3 boto3==1.9.199 certifi==2018.1.18 chardet==3.0.4 diff --git a/setup.cfg b/setup.cfg index bda3be2b..a63cf5fb 100644 --- a/setup.cfg +++ b/setup.cfg @@ -69,17 +69,3 @@ cinder = oslo.privsep>=1.23.0 # Apache-2.0 s3 = boto3>=1.9.199 # Apache-2.0 - -[compile_catalog] -directory = glance_store/locale -domain = glance_store - -[update_catalog] -domain = glance_store -output_dir = glance_store/locale -input_file = glance_store/locale/glance_store.pot - -[extract_messages] -keywords = _ gettext ngettext l_ lazy_gettext -mapping_file = babel.cfg -output_file = glance_store/locale/glance_store.pot