utils/pypi: update pure Python wheel detection
This commit is contained in:
parent
5593a5cab9
commit
073903958f
@ -85,7 +85,7 @@ module PyPI
|
||||
# If there isn't an sdist, we use the first pure Python3 or universal wheel
|
||||
if dist.nil?
|
||||
dist = json["urls"].find do |url|
|
||||
url["filename"].end_with?("py3-none-any.whl")
|
||||
url["filename"].match?("py3.*-none-any.whl$")
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user