pypi: source wheel -> universal wheel

Signed-off-by: William Woodruff <william@yossarian.net>
This commit is contained in:
William Woodruff 2024-07-14 12:51:41 -04:00
parent 547e33ccb7
commit e8ce1841d5
No known key found for this signature in database

View File

@ -77,7 +77,7 @@ module PyPI
url["packagetype"] == "sdist"
end
# If there isn't an sdist, we use the first source wheel.
# If there isn't an sdist, we use the first universal wheel.
if dist.nil?
dist = json["urls"].find do |url|
url["filename"].end_with?("-none-any.whl")