diff options
author | Stephen Finucane <sfinucan@redhat.com> | 2021-03-15 17:26:58 +0000 |
---|---|---|
committer | Sorin Sbârnea <ssbarnea@redhat.com> | 2021-04-08 15:54:07 +0000 |
commit | a96a094c393cb3e87e4241147e036174baa93510 (patch) | |
tree | 8ee3ff5a7f0a548371a767528ccfd7daa16d8252 | |
parent | 2297988a7f41b8cb9d03aaea7d5ad9ba4378e54c (diff) | |
download | pbr-a96a094c393cb3e87e4241147e036174baa93510.tar.gz |
Map requires-python to python-requires (attempt 2)
Attempt two at the problem, this time done properly. As discussed in
change I7158e75934535b80eb60d6b4b7dcef08866b5bab, the previous attempt
actually mapped 'python_requires' to 'requires_python' rather than the
other way around. This resolves that.
Change-Id: I415b64d5b51a248d2f45a28234f1635e8b82ffcc
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
-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 8ceacab..d821183 100644 --- a/pbr/util.py +++ b/pbr/util.py @@ -117,6 +117,7 @@ D1_D2_SETUP_ARGS = ( ('install_requires', ('metadata', 'requires_dist')), ('setup_requires', ('metadata', 'setup_requires_dist')), ('python_requires', ('metadata',)), + ('python_requires', ('metadata', 'requires_python')), ('provides', ('metadata', 'provides_dist')), # ** ('provides_extras', ('metadata',)), ('obsoletes', ('metadata', 'obsoletes_dist')), # ** |