Remove remnants of babel i18n infrastructure
We use distutils-extra now instead of babel. Change-Id: I10625cc4ef2ac8eefd46ee09e36f8cfaef85061f
This commit is contained in:
parent
e9318a5472
commit
a5c433b4cd
15
setup.cfg
15
setup.cfg
@ -7,18 +7,3 @@ source-dir = doc/source
|
||||
tag_build =
|
||||
tag_date = 0
|
||||
tag_svn_revision = 0
|
||||
|
||||
[compile_catalog]
|
||||
directory = locale
|
||||
domain = nova
|
||||
|
||||
[update_catalog]
|
||||
domain = nova
|
||||
output_dir = locale
|
||||
input_file = locale/nova.pot
|
||||
|
||||
[extract_messages]
|
||||
keywords = _ l_ lazy_gettext
|
||||
mapping_file = babel.cfg
|
||||
output_file = locale/nova.pot
|
||||
|
||||
|
10
setup.py
10
setup.py
@ -84,16 +84,6 @@ except:
|
||||
pass
|
||||
|
||||
|
||||
try:
|
||||
from babel.messages import frontend as babel
|
||||
nova_cmdclass['compile_catalog'] = babel.compile_catalog
|
||||
nova_cmdclass['extract_messages'] = babel.extract_messages
|
||||
nova_cmdclass['init_catalog'] = babel.init_catalog
|
||||
nova_cmdclass['update_catalog'] = babel.update_catalog
|
||||
except:
|
||||
pass
|
||||
|
||||
|
||||
def find_data_files(destdir, srcdir):
|
||||
package_data = []
|
||||
files = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user