[Distutils] behavior when failing to build an extension?

M.-A. Lemburg mal@lemburg.com
Thu Aug 9 17:09:00 2001


Just van Rossum wrote:
> 
> Bernhard Herzog wrote:
> 
> > Yes, distutils stops with a message along the lines of
> > error: command 'gcc' failed with exit status 1
> >
> > That's also what e.g. make does by default, unless you run it with the
> > -k flag.
> 
> Ok, thanks, then there's not much for me to do, except perhaps at some point
> make the error message nicer: it now crashes with a nasty traceback...

distutils is your friend here: you just have subclass build_ext.
 
> Btw. does really nobody have any advice on my ranlib question of a couple of
> days ago?

Nope. Why don't you write up a patch which then only affects distutils
on Macs ?!

-- 
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
______________________________________________________________________
Consulting & Company:                           http://www.egenix.com/
Python Software:                        http://www.lemburg.com/python/