masakari-monitors/setup.cfg
XinxinShen b558651cd0 setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: I66440018ae3e16962639976b00c9f65475d8223e
2021-04-28 10:54:57 +08:00

47 lines
1.8 KiB
INI

[metadata]
name = masakari-monitors
summary = Monitors for Masakari
description_file =
README.rst
author = OpenStack
author_email = openstack-dev@lists.openstack.org
home_page = http://www.openstack.org/
python_requires = >=3.6
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 :: Implementation :: CPython
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
[files]
packages =
masakarimonitors
[entry_points]
oslo.config.opts =
masakarimonitors.conf = masakarimonitors.conf.opts:list_opts
oslo.config.opts.defaults =
masakarimonitors.introspectiveinstancemonitor = masakarimonitors.common.config:set_middleware_defaults
masakarimonitors.instancemonitor = masakarimonitors.common.config:set_middleware_defaults
masakarimonitors.processmonitor = masakarimonitors.common.config:set_middleware_defaults
masakarimonitors.hostmonitor = masakarimonitors.common.config:set_middleware_defaults
console_scripts =
masakari-introspectiveinstancemonitor = masakarimonitors.cmd.introspectiveinstancemonitor:main
masakari-instancemonitor = masakarimonitors.cmd.instancemonitor:main
masakari-processmonitor = masakarimonitors.cmd.processmonitor:main
masakari-hostmonitor = masakarimonitors.cmd.hostmonitor:main
hostmonitor.driver =
simple = masakarimonitors.hostmonitor.host_handler.handle_host:HandleHost
default = masakarimonitors.hostmonitor.host_handler.handle_host:HandleHost