summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuehuiLei <leiyuehui@inspur.com>2021-05-06 11:03:59 +0800
committerSahid Orentino Ferdjaoui <sahid.ferdjaoui@industrialdiscipline.com>2023-02-09 11:47:54 +0100
commit7d2c871b7167f193850161f0188d74daf02ad8e0 (patch)
tree454a2f061f40f5b2381f07f49396c9dfbf5027e7
parentbe6aa856a5385d7a9dbf04683ed6a263f12de48e (diff)
downloadosprofiler-7d2c871b7167f193850161f0188d74daf02ad8e0.tar.gz
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: I6f42330ee131be043d24152902e2209aca79ac1c
-rw-r--r--setup.cfg8
1 files changed, 4 insertions, 4 deletions
diff --git a/setup.cfg b/setup.cfg
index 274376e..0518875 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,12 +1,12 @@
[metadata]
name = osprofiler
summary = OpenStack Profiler Library
-description-file =
+description_file =
README.rst
author = OpenStack
-author-email = openstack-discuss@lists.openstack.org
-home-page = https://docs.openstack.org/osprofiler/latest/
-python-requires = >=3.8
+author_email = openstack-discuss@lists.openstack.org
+home_page = https://docs.openstack.org/osprofiler/latest/
+python_requires = >=3.8
classifier =
Environment :: OpenStack
Intended Audience :: Developers