[Nix-dev] python search path and PyQt4&dbus

Yury G. Kudryashov urkud+nix at ya.ru
Wed Aug 25 20:39:40 CEST 2010


Hi!

I'm working on d-bus support in PyQt4. See current patch.

There is one issue that stops me from commiting this patch to SVN: it 
doesn't work ;)

PyQt4 installs file $pyqt/lib/python2.6/site-packages/dbus/mainloop/qt.so 
but if someone writes

import dbus.mainloop.qt

then Python finds dbus.mainloop in $pythonDBus/lib/python2.6/site-
packages/dbus/mainloop/__init__.py, then looks for dbus.mainloop.qt *only* 
in $pythonDBus, not in full PYTHONPATH.

Any ideas how to fix it?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pyqt.patch
Type: text/x-patch
Size: 1537 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20100825/a2c7902d/attachment.bin 


More information about the nix-dev mailing list