Update on PyKF5 bindings

Boudewijn Rempt boud at valdyas.org
Mon Nov 7 15:01:15 UTC 2016


Okay -- I was under the impression that there was something extra needed,
but everything is in extra-cmake-modules now, right?

On Mon, 7 Nov 2016, Shaheed Haque wrote:

> At this point, now that Steve's integration with cmake is emerging into the
> sunlight, my branches in kdebindings and github should be considered as of
> academic interest only.
> 
> As time permits, I plan to focus on wherever the integration work lands.
> 
> On 7 Nov 2016 10:33 a.m., "Boudewijn Rempt" <boud at valdyas.org> wrote:
> 
> > On Tue, 1 Nov 2016, Stephen Kelly wrote:
> >
> > > [I wrote this yesterday but just realized it didn't get delivered]
> > >
> > > Boudewijn Rempt wrote:
> > >
> > > > I'm wondering what the status is of this project...
> > >
> > > Hi Boud,
> > >
> > > I've been busy moving from Berlin back to Dublin, which I just did last
> > > weekend. Things were blocked on me for some months.
> > >
> > > I've just now pushed the first iteration of the bindings to ECM and a use
> > > of
> > > the generator to KItemModels.
> >
> > Oh, cool! I will check out both. What I'm not clear on, though is, the last
> > part -- is the generator that uses python-clang still in shaheed's branch
> > in PyKDE5? Or somewhere else?
> >
> > >
> > > Next steps are
> > >
> > > 1) Figure out any issues with those regarding CI, packaging etc.
> > > 2) Add bindings for other simple libraries
> > > 3) Extend the features of the binding generator
> > > 4) Add bindings for other libraries which need advanced features
> > > 5) GOTO step 3
> > >
> > > There are already features which we worked on some months ago which I
> > held
> > > back from the generator for now, so that there is something easy to debug
> > > for step 1.
> > >
> > > > I've spend the past
> > > > week defining Krita's bindings wrapper library, and then spent some
> > time
> > > > exposing it to Python. I've first used Python to wrap and expose
> > > > properties and slots dynamically
> > > > (https://phabricator.kde.org/diffusion/KRITA/browse/rempt%
> > 252FT1625-python-scripting/plugins/extensions/pykrita/
> > plugin/krita/mikro.py),
> > > > but I'm also considering doing full sip-based bindings.
> > > >
> > > > Writing those by hand is going to be a chore, so it would be nice if
> > the
> > > > autogeneration tool works. This is the bindings library:
> > > >
> > > > https://phabricator.kde.org/diffusion/KRITA/browse/rempt%
> > 252FT1625-python-scripting/plugins/extensions/pykrita/libkis/
> > > >
> > > > (Very rough, most things aren't implemented yet, and I generated it
> > from a
> > > > dumb definition file.)
> > >
> > > I haven't had a look yet. Hopefully the generator will be usable for
> > those
> > > kinds of things.
> > >
> > > Thanks,
> > >
> > > Steve.
> > >
> >
> > --
> > Boudewijn Rempt | http://www.krita.org, http://www.valdyas.org
> >
> 

-- 
Boudewijn Rempt | http://www.krita.org, http://www.valdyas.org


More information about the Kde-bindings mailing list