summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2013-07-12 11:30:32 -0400
committerBrett Cannon <brett@python.org>2013-07-12 11:30:32 -0400
commitae95b4f7a5344de372885fb25d8fadbb14c8fea4 (patch)
tree6b7441179c49c8b33507a1a9f5b4752e9a8f1e8a
parenta79e4fb38d6e598be56944ead5753e65ad561bab (diff)
downloadcpython-git-ae95b4f7a5344de372885fb25d8fadbb14c8fea4.tar.gz
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.
-rw-r--r--Misc/NEWS2
-rw-r--r--setup.py5
2 files changed, 5 insertions, 2 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index b65498abe4..bcdfbf3b6d 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -631,6 +631,8 @@ IDLE
Build
-----
+- Issue #17845: Clarified the message printed when some module are not built.
+
- Issue #18256: Compilation fix for recent AIX releases. Patch by
David Edelsohn.
diff --git a/setup.py b/setup.py
index 798220b48e..b2417c790e 100644
--- a/setup.py
+++ b/setup.py
@@ -259,8 +259,9 @@ class PyBuildExt(build_ext):
if missing:
print()
- print("Python build finished, but the necessary bits to build "
- "these modules were not found:")
+ print("Python build finished successfully!")
+ print("The necessary bits to build these optional modules were not "
+ "found:")
print_three_column(missing)
print("To find the necessary bits, look in setup.py in"
" detect_modules() for the module's name.")