[Python-checkins] r57301 - python/trunk/setup.py
jeffrey.yasskin
python-checkins at python.org
Thu Aug 23 01:14:28 CEST 2007
Author: jeffrey.yasskin
Date: Thu Aug 23 01:14:27 2007
New Revision: 57301
Modified:
python/trunk/setup.py
Log:
When setup.py fails to find the necessary bits to build some modules, have it
print a slightly more informative message.
Modified: python/trunk/setup.py
==============================================================================
--- python/trunk/setup.py (original)
+++ python/trunk/setup.py Thu Aug 23 01:14:27 2007
@@ -194,18 +194,21 @@
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):
More information about the Python-checkins
mailing list