From ca66b728ce85c77c114d71d9a3d993db613fa1ce Mon Sep 17 00:00:00 2001 From: "wu.chunyang" Date: Mon, 15 Jun 2020 23:23:11 +0800 Subject: 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: I0de45b0ced44fc0b4110b42912ab7682f243aaa2 --- babel.cfg | 1 - lower-constraints.txt | 1 - setup.cfg | 13 ------------- 3 files changed, 15 deletions(-) delete mode 100644 babel.cfg diff --git a/babel.cfg b/babel.cfg deleted file mode 100644 index efceab8..0000000 --- a/babel.cfg +++ /dev/null @@ -1 +0,0 @@ -[python: **.py] diff --git a/lower-constraints.txt b/lower-constraints.txt index 49c7188..edb55dc 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -1,6 +1,5 @@ appdirs==1.3.0 asn1crypto==0.23.0 -Babel==2.3.4 bandit==1.1.0 cffi==1.14.0 cliff==2.8.0 diff --git a/setup.cfg b/setup.cfg index 0210957..2651e4a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -43,16 +43,3 @@ autodoc_tree_excludes = setup.py keystoneclient/tests/ -[compile_catalog] -directory = keystoneclient/locale -domain = keystoneclient - -[update_catalog] -domain = keystoneclient -output_dir = keystoneclient/locale -input_file = keystoneclient/locale/keystoneclient.pot - -[extract_messages] -keywords = _ gettext ngettext l_ lazy_gettext -mapping_file = babel.cfg -output_file = keystoneclient/locale/keystoneclient.pot -- cgit v1.2.1