diff options
author | Monty Taylor <mordred@inaugust.com> | 2020-03-27 11:59:35 -0500 |
---|---|---|
committer | Stephen Finucane <stephenfin@redhat.com> | 2020-08-06 08:26:54 +0000 |
commit | d5da2121f875109a94809eeb8aa271fd5a0b3edd (patch) | |
tree | 660c92a6dd6a22a906a8e74b231cfda346578bde | |
parent | 206b795517a13d759f60ed9605eb03ca785ce10a (diff) | |
download | pbr-d5da2121f875109a94809eeb8aa271fd5a0b3edd.tar.gz |
Map requires-python to python-requires
Apparently requires-python is the old value and isn't valid
anymore. What people mean is python-requires. Of course, people
are still using the old value. Fix it for them.
Change-Id: Id49cf641f2eddac17f1b21b186aa3a150bd863f9
-rw-r--r-- | pbr/util.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pbr/util.py b/pbr/util.py index 60b7cd7..89f5088 100644 --- a/pbr/util.py +++ b/pbr/util.py @@ -114,6 +114,7 @@ D1_D2_SETUP_ARGS = { "install_requires": ("metadata", "requires_dist"), "setup_requires": ("metadata", "setup_requires_dist"), "python_requires": ("metadata",), + "requires_python": ("metadata", "python_requires"), "provides": ("metadata", "provides_dist"), # ** "provides_extras": ("metadata",), "obsoletes": ("metadata", "obsoletes_dist"), # ** |