diff options
author | Jeffrey Yasskin <jyasskin@gmail.com> | 2007-08-22 23:14:27 (GMT) |
---|---|---|
committer | Jeffrey Yasskin <jyasskin@gmail.com> | 2007-08-22 23:14:27 (GMT) |
commit | 879975677adb31c94384004e88b80e1da3528db8 (patch) | |
tree | b71e15e5b6ebab99da41b97d068c8316c9a5a341 | |
parent | ca4669c15286d222c338b07a26757ec4a2d1d984 (diff) | |
download | cpython-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.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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): |