diff options
author | wu.chunyang <wuchunyang@yovole.com> | 2020-07-03 22:08:23 +0800 |
---|---|---|
committer | wu.chunyang <wuchunyang@yovole.com> | 2020-07-03 22:10:12 +0800 |
commit | 3e9ecdeead716b06b669517d1c1ba70d73fd1fd9 (patch) | |
tree | 9fd909e2e3ca34fbae8364ff5ff0431845639875 | |
parent | 68b721176a6260f14ecd9c29b9d536ba68994a0e (diff) | |
download | glance_store-3e9ecdeead716b06b669517d1c1ba70d73fd1fd9.tar.gz |
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: I106c408a394ce8018c11560a60fe1a160b898ec3
-rw-r--r-- | babel.cfg | 1 | ||||
-rw-r--r-- | lower-constraints.txt | 1 | ||||
-rw-r--r-- | setup.cfg | 14 |
3 files changed, 0 insertions, 16 deletions
diff --git a/babel.cfg b/babel.cfg deleted file mode 100644 index efceab8..0000000 --- a/babel.cfg +++ /dev/null @@ -1 +0,0 @@ -[python: **.py] diff --git a/lower-constraints.txt b/lower-constraints.txt index e5f464d..c7cd2f2 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -1,6 +1,5 @@ alabaster==0.7.10 appdirs==1.4.3 -Babel==2.5.3 boto3==1.9.199 certifi==2018.1.18 chardet==3.0.4 @@ -69,17 +69,3 @@ cinder = oslo.privsep>=1.23.0 # Apache-2.0 s3 = boto3>=1.9.199 # Apache-2.0 - -[compile_catalog] -directory = glance_store/locale -domain = glance_store - -[update_catalog] -domain = glance_store -output_dir = glance_store/locale -input_file = glance_store/locale/glance_store.pot - -[extract_messages] -keywords = _ gettext ngettext l_ lazy_gettext -mapping_file = babel.cfg -output_file = glance_store/locale/glance_store.pot |