Bugzilla – Bug 135250
Please split PyQt from kdebingdings-python
Last modified: 2005-12-20 23:21:27 UTC
Little GUI applications that use the Qt bindings of python used to require python, qt and PyQt. These days, the PyQt bindings are part of kdebindings-python which require kdelibs which require a lot of libraries. Not a desirable solution. On your GNOME desktop, you may want to limit the amount of installed KDE packages and still run the hp-toolbox from hplip. On a virtual machine, you may want to have a simple GUI (which I would recommend to do with PyQt) without a full-blown KDE desktop. Please split off the PyQt part again.
done
In kdebindings3-python.spec there is now --------------------------------------------------------------------- %files -n python-qt %defattr(-,root,root) %dir /opt/kde3/share/sip /opt/kde3/share/sip/qt* /usr/%_lib/python%{py_ver}/site-packages/pyqtconfig.py /usr/%_lib/python%{py_ver}/site-packages/qt* --------------------------------------------------------------------- But as fas as I know at least /usr/%_lib/python%{py_ver}/site-packages/sip.so /usr/%_lib/python%{py_ver}/site-packages/sipconfig.py are also needed.
do you have a way to test it?
awaiting /work/built/mbuild/portia-coolo-6/ :)
I test whether /usr/bin/hp-toolbox still works. When I call it from a terminal window without sip.so I get: --------------------------------------------------------------- jsmeix@nelson:~> hp-toolbox Traceback (most recent call last): File "/usr/bin/hp-toolbox", line 41, in ? import base.async_qt as async File "/usr/share/hplip/base/async_qt.py", line 85, in ? from qt import * ImportError: No module named sip --------------------------------------------------------------- /usr/bin/hp-toolbox does not need sipconfig.py to run but I think when pyqtconfig.py is included it makes sense to have sipconfig.py also included. Kurt Garloff wrote in a mail to me: ------------------------------------------------------------------ My own PyQt apps work with only sip.so, pyqtconfig.py and qt*.so. ------------------------------------------------------------------ but I don't know what Kurt's own PyQt apps are.
I also vote for including sipconfig.py and sip*.so. The latter is needed for my PyQt app as well.
did you test the new version at all?
Man, it's d*mn difficult to get an X export working from a chroot. Next time, I'll create a virtual machine ... I tested: The python-qt package does now contain everything that's needed AFAICS. Thanks!