0ea41595e6
The infra scripts really expect $REPODIR/locale to work, fix setup.cfg and rename the locale file so that infra scripts work. This fixes change Id9f5b08835a4780a8448c989a878c03b70a97803 which already said:"The proper place is for all python projects $PROJECT/locale/$PROJECT.pot - see setup.cfg." - but then during review we missed that instead of PROJECT=python-magnumclient, it used magnumclient - and the infra scripts do not cope with that since PROJECT really has to be the name of the repository. Change-Id: Idc5efe52a1ff1b0cb8599e1258e411522547f0e4
52 lines
1.2 KiB
INI
52 lines
1.2 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
|
|
Programming Language :: Python :: 2.6
|
|
|
|
[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 = python-magnumclient/locale
|
|
domain = python-magnumclient
|
|
|
|
[update_catalog]
|
|
domain = python-magnumclient
|
|
output_dir = python-magnumclient/locale
|
|
input_file = python-magnumclient/locale/python-magnumclient.pot
|
|
|
|
[extract_messages]
|
|
keywords = _ gettext ngettext l_ lazy_gettext
|
|
mapping_file = babel.cfg
|
|
output_file = python-magnumclient/locale/python-magnumclient.pot
|
|
|
|
[wheel]
|
|
universal = 1
|