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: Iead96312102da530a006fc259bab80ad37e55b76
This commit is contained in:
wu.chunyang 2020-06-21 18:27:45 +08:00
parent 81bae85a9a
commit b826f6daac
3 changed files with 0 additions and 16 deletions

View File

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

View File

@ -4,7 +4,6 @@ amqp==2.2.2
appdirs==1.4.3
asn1crypto==0.24.0
astroid==1.3.8
Babel==2.3.4
bandit==1.1.0
bashate==0.5.1
bcrypt==3.1.4

View File

@ -78,17 +78,3 @@ oslo.config.opts.defaults =
oslo.policy.policies =
sahara = sahara.common.policies:list_rules
[extract_messages]
keywords = _ gettext ngettext l_ lazy_gettext
mapping_file = babel.cfg
output_file = sahara/locale/sahara.pot
[compile_catalog]
directory = sahara/locale
domain = sahara
[update_catalog]
domain = sahara
output_dir = sahara/locale
input_file = sahara/locale/sahara.pot