utils/pypi: warn when pypi_info fails due to missing sources
Signed-off-by: William Woodruff <william@yossarian.net>
This commit is contained in:
parent
a600438123
commit
46d67ba560
@ -86,7 +86,10 @@ module PyPI
|
||||
end
|
||||
end
|
||||
|
||||
return if dist.nil?
|
||||
if dist.nil?
|
||||
onoe "#{name} exists on PyPI but lacks a suitable source distribution"
|
||||
return
|
||||
end
|
||||
|
||||
@pypi_info = [
|
||||
PyPI.normalize_python_package(json["info"]["name"]), dist["url"],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user