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: I073d3d7e2f2e8a4f06c17541a0f4d4fedcaed2dc
This commit is contained in:
wu.chunyang 2020-06-15 23:11:47 +08:00
parent dd379ae2f6
commit 3616b29ccf
3 changed files with 0 additions and 17 deletions

View File

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

View File

@ -3,7 +3,6 @@ alembic==0.8.10
amqp==2.1.1
appdirs==1.4.3
astroid==1.6.5
Babel==2.3.4
bandit==1.1.0
bashate==0.5.1
beautifulsoup4==4.6.0

View File

@ -27,17 +27,3 @@ packages =
console_scripts =
osken = os_ken.cmd.osken_base:main
osken-manager = os_ken.cmd.manager:main
[compile_catalog]
directory = os_ken/locale
domain = os_ken
[update_catalog]
domain = os_ken
output_dir = os_ken/locale
input_file = os_ken/locale/os_ken.pot
[extract_messages]
keywords = _ gettext ngettext l_ lazy_gettext
mapping_file = babel.cfg
output_file = os_ken/locale/os_ken.pot