summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Yasskin <jyasskin@gmail.com>2007-08-22 23:14:27 (GMT)
committerJeffrey Yasskin <jyasskin@gmail.com>2007-08-22 23:14:27 (GMT)
commit879975677adb31c94384004e88b80e1da3528db8 (patch)
treeb71e15e5b6ebab99da41b97d068c8316c9a5a341
parentca4669c15286d222c338b07a26757ec4a2d1d984 (diff)
downloadcpython-879975677adb31c94384004e88b80e1da3528db8.zip
cpython-879975677adb31c94384004e88b80e1da3528db8.tar.gz
cpython-879975677adb31c94384004e88b80e1da3528db8.tar.bz2
When setup.py fails to find the necessary bits to build some modules, have it
print a slightly more informative message.
-rw-r--r--setup.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 79d758f..d768c65 100644
--- a/setup.py
+++ b/setup.py
@@ -194,18 +194,21 @@ class PyBuildExt(build_ext):
for e, f, g in zip(lst[::3], lst[1::3], lst[2::3]):
print "%-*s %-*s %-*s" % (longest, e, longest, f,
longest, g)
- print
if missing:
print
print "Failed to find the necessary bits to build these modules:"
print_three_column(missing)
+ print ("To find the necessary bits, look in setup.py in"
+ " detect_modules() for the module's name.")
+ print
if self.failed:
failed = self.failed[:]
print
print "Failed to build these modules:"
print_three_column(failed)
+ print
def build_extension(self, ext):