[weboob] [PATCH 1/2] setup.py: print what executable we were looking for

Romain Bignon romain at symlink.me
Sun Nov 4 16:30:07 CET 2012


On 04/Nov - 14:04, Adrien Kunysz wrote:
> The error message is sometimes confusing. Consider the following
> situation on Debian 6.0:
> $ python setup.py
> Building Qt applications
> Install PyQt4-devel or disable Qt applications (with --no-qt).
> $ dpkg -l | grep -i python | grep -i qt
> ii  python-qt4          4.7.3-1+b1         Python bindings for Qt4
> ii  python-qt4-dev      4.7.3-1            Development files for PyQt4
> What is really missing is the pyuic4 executable which is provided by
> a different package on that distribution. But you have no way to know
> that unless you go look into setup.py. This change prints what
> executable we are missing as to help diagnose this kind of problem:
> $ python setup.py
> Building Qt applications
> Could not find executable: pyuic4
> Install PyQt4-devel or disable Qt applications (with --no-qt).
> Notice that until e69adf357b15569157c44c4581f27890674f82ff,
> the name of the missing executable was printed as well.

You're right. I've applied your patches.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <https://lists.symlink.me/pipermail/weboob/attachments/20121104/9b41e29c/attachment.sig>

More information about the weboob mailing list