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: I8a5b7c3fc87a27c774deb368b877a9697ba320f3
This commit is contained in:
wu.chunyang
2020-06-15 00:11:34 +08:00
parent cae620d6cd
commit 064ce9c8fd
4 changed files with 0 additions and 17 deletions

View File

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

View File

@@ -4,7 +4,6 @@ ansible-runner===1.4.4
aodhclient==0.9.0 aodhclient==0.9.0
appdirs==1.3.0 appdirs==1.3.0
asn1crypto==0.23.0 asn1crypto==0.23.0
Babel==2.3.4
beautifulsoup4==4.6.0 beautifulsoup4==4.6.0
cachetools==2.0.0 cachetools==2.0.0
cffi==1.7.0 cffi==1.7.0

View File

@@ -3,7 +3,6 @@
# process, which may cause wedges in the gate later. # process, which may cause wedges in the gate later.
pbr!=2.1.0,>=2.0.0 # Apache-2.0 pbr!=2.1.0,>=2.0.0 # Apache-2.0
Babel!=2.4.0,>=2.3.4 # BSD
passlib>=1.7.0 # BSD passlib>=1.7.0 # BSD
psutil>=3.2.2 # BSD psutil>=3.2.2 # BSD
python-ironic-inspector-client>=1.5.0 # Apache-2.0 python-ironic-inspector-client>=1.5.0 # Apache-2.0

View File

@@ -27,20 +27,6 @@ classifier =
packages = packages =
tripleoclient tripleoclient
[compile_catalog]
directory = tripleoclient/locale
domain = tripleoclient
[update_catalog]
domain = tripleoclient
output_dir = tripleoclient/locale
input_file = tripleoclient/locale/tripleoclient.pot
[extract_messages]
keywords = _ gettext ngettext l_ lazy_gettext
mapping_file = babel.cfg
output_file = tripleoclient/locale/tripleoclient.pot
[entry_points] [entry_points]
openstack.cli.extension = openstack.cli.extension =
tripleoclient = tripleoclient.plugin tripleoclient = tripleoclient.plugin