Fix setup.py and setup.cfg deprecations

This project cannot be "installed" as a python package,
so specify there are no "py_modules" to install; alongside,
hyphenated metadata headers are deprecated in setup.cfg, replace them.

Change-Id: I0713f3c871180ea235c12f888e43a7a823341f0c
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
This commit is contained in:
Goutham Pacha Ravi 2022-04-05 21:15:39 +05:30
parent 631a8542df
commit a21683502a
2 changed files with 5 additions and 3 deletions

View File

@ -1,16 +1,17 @@
[metadata]
name = manila-image-elements
summary = Image elements for Manila
description-file = README.rst
description_file = README.rst
license = Apache Software License
python_requires = >=3.6
classifiers =
Intended Audience :: Information Technology
Intended Audience :: System Administrators
License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux
author = OpenStack
author-email = openstack-discuss@lists.openstack.org
home-page = https://docs.openstack.org/manila/latest/
author_email = openstack-discuss@lists.openstack.org
home_page = https://docs.openstack.org/manila/latest/
[files]
scripts =

View File

@ -17,4 +17,5 @@ import setuptools
setuptools.setup(
setup_requires=['pbr>=2.0.0'],
py_modules=[],
pbr=True)