setup: Replace dashes with underscores

Resolves the following class of warnings issued when building the
package sdist:

  UserWarning: Usage of dash-separated 'python-requires' will not be
  supported in future versions. Please use the underscore name
  'python_requires' instead

Change-Id: Ie4f6c7b17ace67669cdeec84ce4f163aededa8e4
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane 2021-07-15 12:17:15 +01:00 committed by Takashi Kajinami
parent b9e7524cbf
commit 079e55fd1b

View File

@ -1,19 +1,20 @@
[metadata]
name = openstack-placement
summary = Resource provider inventory usage and allocation service
description-file =
description_file =
README.rst
author = OpenStack
author-email = openstack-discuss@lists.openstack.org
home-page = https://docs.openstack.org/placement/latest/
author_email = openstack-discuss@lists.openstack.org
url = https://docs.openstack.org/placement/latest/
project_urls =
Bug Tracker = https://storyboard.openstack.org/#!/project/openstack/placement
Documentation = https://docs.openstack.org/placement/latest/
API Reference = https://docs.openstack.org/api-ref/placement/
Source Code = https://opendev.org/openstack/placement
Release Notes = https://docs.openstack.org/releasenotes/placement/
python-requires = >=3.6
python_requires = >=3.6
classifier =
Development Status :: 5 - Production/Stable
Environment :: OpenStack
Intended Audience :: Information Technology
Intended Audience :: System Administrators
@ -36,20 +37,16 @@ packages =
[entry_points]
oslo.config.opts =
placement.conf = placement.conf.opts:list_opts
oslo.config.opts.defaults =
nova.conf = placement.conf.base:set_lib_defaults
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 =
placement-manage = placement.cmd.manage:main
placement-status = placement.cmd.status:main