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>
This commit is contained in:
Stephen Finucane 2021-03-15 17:26:58 +00:00 committed by Sorin Sbârnea
parent 2297988a7f
commit a96a094c39
1 changed files with 1 additions and 0 deletions

View File

@ -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')), # **