Chris Dent eaeeea1cfe Inspect and correct tox.ini, .stestr.conf and setup.cfg
Begin the process of getting placement tests running, by getting the
test harness opertional.

Before we can expect the tests to be able to run the configuration for
the placement package and its test harness needs to be adjusted for
"nova" -> "placement". These changes are made by inspection and based
on previous iterations of doing these kinds of cleanups, it won't be
until later in this stack of change that actually passing tests will
show up. However, the logs for attempted tests runs should be getting
a little bit further than the parent.

setup.cfg changes quite a bit because there are many things in it that
are not relevant. placement (thus far) really only has one entry point.
As noted, by a TODO, a placement-manage and placement-status will be
desired in the near future.

Change-Id: Iaa385c6e8653a9646a21bb65203deaa05ec43217
2018-09-04 10:31:25 -05:00

74 lines
2.0 KiB
INI

[metadata]
name = placement
summary = Resource provider inventory usage and allocation service
description-file =
README.rst
author = OpenStack
author-email = openstack-dev@lists.openstack.org
home-page = https://docs.openstack.org/placement/latest/
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.5
[global]
setup-hooks =
pbr.hooks.setup_hook
[files]
packages =
placement
[entry_points]
oslo.config.opts =
placement.conf = placement.conf.opts:list_opts
oslo.policy.enforcer =
placement = placement.policy:get_enforcer
oslo.policy.policies =
# The sample policies will be ordered by entry point and then by list
# returned from that entry point. If more control is desired split out each
# list_rules method into a separate entry point rather than using the
# aggregate method.
placement = placement.policies:list_rules
console_scripts =
# TODO(cdent): We will need some kind of placement-manage and
# placement-status, eventually
# nova-manage = nova.cmd.manage:main
# nova-status = nova.cmd.status:main
wsgi_scripts =
placement-api = placement.wsgi:init_application
[egg_info]
tag_build =
tag_date = 0
tag_svn_revision = 0
[compile_catalog]
# TODO(cdent): Create translation infrastructure.
# See: https://docs.openstack.org/oslo.i18n/latest/user/usage.html
directory = placement/locale
domain = placement
[update_catalog]
domain = placement
output_dir = placement/locale
input_file = placement/locale/placement.pot
[extract_messages]
keywords = _ gettext ngettext l_ lazy_gettext
mapping_file = babel.cfg
output_file = placement/locale/placement.pot
[wheel]
universal = 1