From fa421e9178aa9bf2e327b13e3685974b0494a813 Mon Sep 17 00:00:00 2001 From: gugug Date: Sat, 23 May 2020 14:30:06 +0800 Subject: [PATCH] Remove translation sections from setup.cfg These translation sections are not needed anymore, Babel can generate translation files without them. Change-Id: Id54c22f820b1aa6315d721e354ce150c657bd4fd --- babel.cfg | 2 -- requirements.txt | 1 - setup.cfg | 19 ------------------- 3 files changed, 22 deletions(-) delete mode 100644 babel.cfg diff --git a/babel.cfg b/babel.cfg deleted file mode 100644 index 15cd6cb76..000000000 --- a/babel.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[python: **.py] - diff --git a/requirements.txt b/requirements.txt index 7e40c2d3f..8b5912574 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. -Babel!=2.4.0,>=2.3.4 # BSD eventlet>=0.25.1 # MIT Flask!=0.11,>=0.10 # BSD greenlet>=0.4.10 # MIT diff --git a/setup.cfg b/setup.cfg index e945ffe33..dbf5aab4c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -128,22 +128,3 @@ designate.notification.plugin = wsgi_scripts = designate-api-wsgi = designate.api.wsgi:init_application - -[egg_info] -tag_build = -tag_date = 0 -tag_svn_revision = 0 - -[compile_catalog] -directory = designate/locale -domain = designate - -[update_catalog] -domain = designate -output_dir = designate/locale -input_file = designate/locale/designate.pot - -[extract_messages] -keywords = _ gettext ngettext l_ lazy_gettext -mapping_file = babel.cfg -output_file = designate/locale/designate.pot