From 3616b29ccf23637bdf6cb7ad9c612cf33dc4fa32 Mon Sep 17 00:00:00 2001 From: "wu.chunyang" Date: Mon, 15 Jun 2020 23:11:47 +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: I073d3d7e2f2e8a4f06c17541a0f4d4fedcaed2dc --- babel.cfg | 2 -- lower-constraints.txt | 1 - setup.cfg | 14 -------------- 3 files changed, 17 deletions(-) delete mode 100644 babel.cfg diff --git a/babel.cfg b/babel.cfg deleted file mode 100644 index 15cd6cb7..00000000 --- a/babel.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[python: **.py] - diff --git a/lower-constraints.txt b/lower-constraints.txt index f775b5d0..05d448ef 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -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 diff --git a/setup.cfg b/setup.cfg index 296b9600..ad6cfc54 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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