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