> I don't know how to get distutils to build non-python shared
> libraries... Don't think it's possible, hence I went for the makefile.

Dang, good point. Do you really need to do an example with a shared
library other than the libm one?