[PyKDE] kdebindings 3.2.91 and bytearray.sip

Michael Franz Aigner amfranz at gmail.com
Wed Jul 14 10:03:01 BST 2004


On Tue, 13 Jul 2004 09:53:52 -0700, Jim Bublitz <jbublitz at nwinternet.com> wrote:
> 
> They're still included in the PyKDE3.11.1 tarball, so if you don't need
> KDE3.3beta1 support you can use that.  It's possible to get PyKDE3.11.1 (from
> the tarball) to build against KDE3.3beta1, but there are a lot of small
> details to doing that. If you wanted to modify the CVS source, you just need
> to add bytearray.sip to the sip/kdecore directory and then add "%Include
> bytearray.sip" to sip/kdecore/kdecoremod.sip.in and recompile. You can
> recompile only kdecore by doing:
> 
>     python configure.py -lkdecore
> 
> (the switch is "ell") and then make and make install.

Thank you, that worked perfectly :)

> It's pretty easy to do the marshalling as part of the bindings - not so easy
> in Python. You might also want to look at dcopext.py and dcopexport.py
> (they're in PyKDE/extensions and covered in the docs and should install into
> site-packages so you can just import them like any other PyKDE modules).
> Those take care of most of the other DCOP housekeeping and you don't need to
> marshall args directly at all. They still need bytearray.sip though.

Wow, i completely missed the files dcopext.py and dcopexport.py. They
ease my life a lot. Kodus to the author.

> Jim
Michael




More information about the PyQt mailing list