[Python-Dev] setup.py is too aggressive

Martin von Loewis loewis@informatik.hu-berlin.de
Sat, 24 Mar 2001 13:23:47 +0100 (MET)


> > In any case, distributors are certainly advised to run the testsuite
> > and potentially remove or fix modules for which the tests fail.
> 
> These, however, aren't flagged as failures -- they're flagged as
> ImportErrors which are ignored during tests

I see. Is it safe to say, for all modules in the core, that importing
them has no "dangerous" side effect? In that case, setup.py could
attempt to import them after they've been build, and delete the ones
that fail to import. Of course, that would also delete modules where
setting LD_LIBRARY_PATH might cure the problem...

Regards,
Martin