Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ae95b4f

Browse files
committed
Issue #17845: Clarify the message setup.py prints upon successfully
building Python but having some optional module which didn't build. Patch by Yogesh Chaudhari.
1 parent a79e4fb commit ae95b4f

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -631,6 +631,8 @@ IDLE
631631
Build
632632
-----
633633

634+
- Issue #17845: Clarified the message printed when some module are not built.
635+
634636
- Issue #18256: Compilation fix for recent AIX releases. Patch by
635637
David Edelsohn.
636638

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,9 @@ def print_three_column(lst):
259259

260260
if missing:
261261
print()
262-
print("Python build finished, but the necessary bits to build "
263-
"these modules were not found:")
262+
print("Python build finished successfully!")
263+
print("The necessary bits to build these optional modules were not "
264+
"found:")
264265
print_three_column(missing)
265266
print("To find the necessary bits, look in setup.py in"
266267
" detect_modules() for the module's name.")

0 commit comments

Comments
 (0)