a0b7dfa962
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 python-magnumclient/locale/python-magnumclient.pot to magnumclient/locale/magnumclient.pot. For this we need to update setup.cfg. The domain name is already correct in magnumclient/i18n.py. The project has no translations currently, let's remove the outdated pot file, the updated scripts work without them. So, we can just delete the file and once there are translations, an updated pot file together with translations can be imported automatically. Change-Id: Ie2b32aec76a35fc5a1b9ee26bf0265cef393415a
51 lines
1.1 KiB
INI
51 lines
1.1 KiB
INI
[metadata]
|
|
name = python-magnumclient
|
|
summary = Client library for Magnum API
|
|
description-file =
|
|
README.rst
|
|
author = OpenStack
|
|
author-email = openstack-dev@lists.openstack.org
|
|
home-page = http://www.openstack.org/
|
|
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
|
|
|
|
[files]
|
|
packages =
|
|
magnumclient
|
|
|
|
[entry_points]
|
|
console_scripts =
|
|
magnum = magnumclient.shell:main
|
|
|
|
[build_sphinx]
|
|
source-dir = doc/source
|
|
build-dir = doc/build
|
|
all_files = 1
|
|
|
|
[upload_sphinx]
|
|
upload-dir = doc/build/html
|
|
|
|
[compile_catalog]
|
|
directory = magnumclient/locale
|
|
domain = magnumclient
|
|
|
|
[update_catalog]
|
|
domain = magnumclient
|
|
output_dir = magnumclient/locale
|
|
input_file = magnumclient/locale/magnumclient.pot
|
|
|
|
[extract_messages]
|
|
keywords = _ gettext ngettext l_ lazy_gettext
|
|
mapping_file = babel.cfg
|
|
output_file = magnumclient/locale/magnumclient.pot
|
|
|
|
[wheel]
|
|
universal = 1
|