
Follow new infra setup for translations, see spec http://specs.openstack.org/openstack-infra/infra-specs/specs/translation_setup.html for full details. This basically renames oslo.service/locale/oslo.service.pot to oslo_service/locale/oslo_service.pot. For this we need to update setup.cfg. Update also domain name in i18n.py. The project has no translations currently, let's remove the outdated pot files, the updated scripts work without them. So, we can just delete the files and once there are translations, an updated pot file together with translations can be imported automatically. Change-Id: I4bbe492faee1c04ede16b3a4e9da2a9521eecccd
60 lines
1.5 KiB
INI
60 lines
1.5 KiB
INI
[metadata]
|
|
name = oslo.service
|
|
summary = oslo.service library
|
|
description-file =
|
|
README.rst
|
|
author = OpenStack
|
|
author-email = openstack-dev@lists.openstack.org
|
|
home-page = http://wiki.openstack.org/wiki/Oslo#oslo.service
|
|
classifier =
|
|
Environment :: OpenStack
|
|
Intended Audience :: Information Technology
|
|
Intended Audience :: System Administrators
|
|
License :: OSI Approved :: Apache Software License
|
|
Operating System :: POSIX :: Linux
|
|
Programming Language :: Python
|
|
Programming Language :: Python :: 2
|
|
Programming Language :: Python :: 2.7
|
|
Programming Language :: Python :: 3
|
|
Programming Language :: Python :: 3.3
|
|
Programming Language :: Python :: 3.4
|
|
|
|
[files]
|
|
packages =
|
|
oslo_service
|
|
|
|
[pbr]
|
|
warnerrors = true
|
|
|
|
[entry_points]
|
|
oslo.config.opts =
|
|
oslo.service.periodic_task = oslo_service.periodic_task:list_opts
|
|
oslo.service.service = oslo_service.service:list_opts
|
|
oslo.service.sslutils = oslo_service.sslutils:list_opts
|
|
oslo.service.wsgi = oslo_service.wsgi:list_opts
|
|
|
|
[build_sphinx]
|
|
source-dir = doc/source
|
|
build-dir = doc/build
|
|
all_files = 1
|
|
|
|
[upload_sphinx]
|
|
upload-dir = doc/build/html
|
|
|
|
[compile_catalog]
|
|
directory = oslo_service/locale
|
|
domain = oslo_service
|
|
|
|
[update_catalog]
|
|
domain = oslo_service
|
|
output_dir = oslo_service/locale
|
|
input_file = oslo_service/locale/oslo_service.pot
|
|
|
|
[extract_messages]
|
|
keywords = _ gettext ngettext l_ lazy_gettext
|
|
mapping_file = babel.cfg
|
|
output_file = oslo_service/locale/oslo_service.pot
|
|
|
|
[wheel]
|
|
universal = true
|