From 97cadc4249834387eb0e9dbf194590cbd1bb9d9d Mon Sep 17 00:00:00 2001 From: Dmitry Tantsur Date: Fri, 17 Apr 2020 11:41:03 +0200 Subject: [PATCH] Remove Babel and any signs of translations DIB does not currently have any translations or translatable strings, so removing local configuration from setup.cfg. Additionally, Babel is only required if you import it directly, removing it as well. Change-Id: I036de97641df38eef408290b50cecfe216c69f6d --- 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 ea266fd6..18d44b5f 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -1,7 +1,6 @@ alabaster==0.7.10 appdirs==1.3.0 astroid==1.6.2 -Babel==2.3.4 coverage==4.0 decorator==3.4.0 docutils==0.11 diff --git a/requirements.txt b/requirements.txt index 561663f1..f4db1184 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,6 @@ # The order of packages is significant, because pip processes them in the order # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. -Babel!=2.4.0,>=2.3.4 # BSD # NOTE(fdegir): NetworkX 2.3 dropped support for Python 2 networkx>=1.10,<2.3;python_version<'3.0' # BSD networkx>=1.10;python_version>='3.4' # BSD diff --git a/setup.cfg b/setup.cfg index c9c7785f..a9f11edf 100644 --- a/setup.cfg +++ b/setup.cfg @@ -43,20 +43,6 @@ scripts = data_files = share/diskimage-builder/scripts = scripts/* -[extract_messages] -keywords = _ gettext ngettext l_ lazy_gettext -mapping_file = babel.cfg -output_file = diskimage_builder/locale/diskimage_builder.pot - -[update_catalog] -domain = diskimage_builder -output_dir = diskimage_builder/locale -input_file = diskimage_builder/locale/diskimage_builder.pot - -[compile_catalog] -directory = diskimage_builder/locale -domain = diskimage_builder - [wheel] universal = 1