[PyKDE] Python IOSlaves

David Boddie david at boddie.org.uk
Wed Nov 17 22:56:55 GMT 2004

On Wed, 17 Nov 2004 18:48:09, Luke Monahan wrote:

> I have downloaded the files pykde-components-2004-01-20.tar.bz2 from
> David's site and set about installing his IOSlaves so I can play
> around with them.

I uploaded a later version but didn't link it in. If you look at that
page again you'll see it.

> Unfortunately I can't get the build script to work.

Sorry about that. It needs a rewrite.

> It continues to complain that it can't find the sips libraries in my
> python lib directories.  They are there, but build.py is looking for
> "libsip*" wheras the sip related libraries I have (after installing
> the latest binaries from the sourceforge site linked of the PyKDE
> site) are
> /usr/lib/python2.3/site-packages/sipconfig.py
> /usr/lib/python2.3/site-packages/sip.so

Yes, it expects the old-style libsip.so. You can probably just strip out
all the SIP checks.

> So... I create a softlink "libsip.so" to "sip.so".  Then I get a
> similar complaint about other libraries, which I fix in a similar
> manner.  It can't find PyQT or PyKDE for the same reason.

Sorry. I'll update the script again. :-/

> When I get it finding everything the build starts, but borks on a SIP
> operation (which I won't post here just yet).
> My main question is: have there been major changes to the way these
> libraries are used since these demos were written?  If not why might I
> be getting all these errors?  How would I go about getting an updated
> build.py, details.py etc -- I couldn't find where they came from.

No major changes to the way they are used from the Python side, but
it looks like the should build script should be rewritten. It should
probably use the configuration information that PyQt and PyKDE provide
rather than scanning various directories in the hope that it will find all
the libraries it needs.

I'll try and upload a new version soon.


More information about the PyQt mailing list