summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Stanley <fungi@yuggoth.org>2022-04-10 15:53:17 +0000
committerJeremy Stanley <fungi@yuggoth.org>2022-04-10 15:53:17 +0000
commitf343878760986b5496c074d3beb721ab606a6c25 (patch)
tree698a8a24d2f78e4075bda9c8beb98fc836bc84e4
parent1912e685ffbd93182a32d29219bd19ce49f39c63 (diff)
downloadgit-review-f343878760986b5496c074d3beb721ab606a6c25.tar.gz
Clean up package metadata
The author-email and python-requires options are deprecated by SetupTools in favor of author_email and setup_requires and trigger warnings now, so update them. The license_files option (since its introduction) automatically includes LICENSE and AUTHORS if not specified, so was always redundant and unnecessary. The warnerrors option for PBR was for Sphinx integration, which we don't use any longer, and is ignored by modern PBR versions anyway so clean it up too. Change-Id: Ic5d1e17dd4926eea4e5b6fff47295fd8e9eb452d
-rw-r--r--setup.cfg8
1 files changed, 2 insertions, 6 deletions
diff --git a/setup.cfg b/setup.cfg
index fdaef4a..1a37490 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -4,7 +4,7 @@ summary = Tool to submit code to Gerrit
long_description = file: README.rst
long_description_content_type = text/x-rst; charset=UTF-8
author = OpenDev Contributors
-author-email = service-discuss@lists.opendev.org
+author_email = service-discuss@lists.opendev.org
url = http://docs.opendev.org/opendev/git-review
project_urls =
Browse Source = https://opendev.org/opendev/git-review
@@ -15,9 +15,6 @@ project_urls =
Release Notes = https://docs.opendev.org/opendev/git-review/latest/releasenotes.html
keywords = git gerrit review commandline
license = Apache License, Version 2.0
-license_files =
- AUTHORS
- LICENSE
classifiers =
Development Status :: 5 - Production/Stable
Environment :: Console
@@ -33,7 +30,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python
Topic :: Utilities
-python-requires = >= 3.5
+python_requires = >= 3.5
[files]
packages =
@@ -46,4 +43,3 @@ console_scripts =
[pbr]
manpages =
git-review.1
-warnerrors = True