[MRG] improved diagnostics in setup.py