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
This commit is contained in:
wu.chunyang 2020-06-15 23:23:11 +08:00 committed by Douglas Mendizábal
parent ea1308ad0e
commit ca66b728ce
3 changed files with 0 additions and 15 deletions

View File

@ -1 +0,0 @@
[python: **.py]

View File

@ -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

View File

@ -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