Skip to content

Commit d9303c4

Browse files
pythongh-93692: setup.py now reports successful builds if the build succeeded
1 parent 875de61 commit d9303c4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

setup.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -536,9 +536,13 @@ def print_three_column(lst):
536536
print("%-*s %-*s %-*s" % (longest, e, longest, f,
537537
longest, g))
538538

539-
if self.missing:
539+
if not self.failed:
540540
print()
541541
print("Python build finished successfully!")
542+
print()
543+
544+
if self.missing:
545+
print()
542546
print("The necessary bits to build these optional modules were not "
543547
"found:")
544548
print_three_column(self.missing)

0 commit comments

Comments
 (0)