From d353bbce28bab189fd4dbb52bb28d4db8ffbc533 Mon Sep 17 00:00:00 2001 From: Manpreet Kaur Date: Thu, 11 Feb 2021 16:40:00 +0530 Subject: [PATCH] Remove depreciated file babel.cfg The file babel.cfg is not used anymore. This patch removes the depreciated file and the translation sections in setup.cfg (extract_messages, compile_catalog and update_catalog) as these not needed anymore, Babel can generate translation files without them. Change-Id: I64879fdcc2cb2b1395d31947280d39081cf2676b --- babel.cfg | 1 - lower-constraints.txt | 1 - requirements.txt | 1 - setup.cfg | 14 -------------- 4 files changed, 17 deletions(-) delete mode 100644 babel.cfg diff --git a/babel.cfg b/babel.cfg deleted file mode 100644 index efceab81..00000000 --- a/babel.cfg +++ /dev/null @@ -1 +0,0 @@ -[python: **.py] diff --git a/lower-constraints.txt b/lower-constraints.txt index 6f9fafaa..744ac1f4 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -1,6 +1,5 @@ alabaster==0.7.10 appdirs==1.3.0 -Babel==2.3.4 cliff==2.8.0 cmd2==0.8.0 coverage==4.0 diff --git a/requirements.txt b/requirements.txt index a793e103..5153b209 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,6 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. pbr!=2.1.0,>=2.0.0 # Apache-2.0 -Babel!=2.4.0,>=2.3.4 # BSD cliff!=2.9.0,>=2.8.0 # Apache-2.0 PyYAML>=3.12 # MIT python-dateutil>=2.5.3 # BSD diff --git a/setup.cfg b/setup.cfg index f331a1dd..fbde4c37 100644 --- a/setup.cfg +++ b/setup.cfg @@ -31,17 +31,3 @@ console_scripts = toscaparser.extensions = tosca_simple_profile_for_nfv_1_0_0 = toscaparser.extensions.nfv.tosca_simple_profile_for_nfv_1_0_0:NfvProfile_1_0_0 tosca_simple_profile_for_mec_1_0_0 = toscaparser.extensions.mec.tosca_simple_profile_for_mec_1_0_0:MecProfile_1_0_0 - -[compile_catalog] -directory = toscaparser/locale -domain = toscaparser - -[update_catalog] -domain = toscaparser -output_dir = toscaparser/locale -input_file = toscaparser/locale/toscaparser.pot - -[extract_messages] -keywords = _ gettext ngettext l_ lazy_gettext -mapping_file = babel.cfg -output_file = toscaparser/locale/toscaparser.pot