[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bindings
Subject: Re: Update on PyKF5 bindings
From: Shaheed Haque <srhaque () theiet ! org>
Date: 2016-11-07 10:46:47
Message-ID: CAHAc2jfnxRwhxpaos7r44mD_yiSBMOfucYjvnMtW+3NPVoibkg () mail ! gmail ! com
[Download RAW message or body]
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@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
>
[Attachment #3 (text/html)]
<p dir="ltr">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.</p> <p dir="ltr">As time permits, I plan to focus on wherever \
the integration work lands.</p> <div class="gmail_extra"><br><div \
class="gmail_quote">On 7 Nov 2016 10:33 a.m., "Boudewijn Rempt" <<a \
href="mailto:boud@valdyas.org">boud@valdyas.org</a>> wrote:<br \
type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, 1 Nov 2016, Stephen Kelly \
wrote:<br> <br>
> [I wrote this yesterday but just realized it didn't get delivered]<br>
><br>
> Boudewijn Rempt wrote:<br>
><br>
> > I'm wondering what the status is of this project...<br>
><br>
> Hi Boud,<br>
><br>
> I've been busy moving from Berlin back to Dublin, which I just did last<br>
> weekend. Things were blocked on me for some months.<br>
><br>
> I've just now pushed the first iteration of the bindings to ECM and a \
use<br> > of<br>
> the generator to KItemModels.<br>
<br>
Oh, cool! I will check out both. What I'm not clear on, though is, the last<br>
part -- is the generator that uses python-clang still in shaheed's branch<br>
in PyKDE5? Or somewhere else?<br>
<br>
><br>
> Next steps are<br>
><br>
> 1) Figure out any issues with those regarding CI, packaging etc.<br>
> 2) Add bindings for other simple libraries<br>
> 3) Extend the features of the binding generator<br>
> 4) Add bindings for other libraries which need advanced features<br>
> 5) GOTO step 3<br>
><br>
> There are already features which we worked on some months ago which I held<br>
> back from the generator for now, so that there is something easy to debug<br>
> for step 1.<br>
><br>
> > I've spend the past<br>
> > week defining Krita's bindings wrapper library, and then spent some \
time<br> > > exposing it to Python. I've first used Python to wrap and \
expose<br> > > properties and slots dynamically<br>
> > (<a href="https://phabricator.kde.org/diffusion/KRITA/browse/rempt%252FT1625-python-scripting/plugins/extensions/pykrita/plugin/krita/mikro.py" \
rel="noreferrer" target="_blank">https://phabricator.kde.org/<wbr>diffusion/KRITA/brow \
se/rempt%<wbr>252FT1625-python-scripting/<wbr>plugins/extensions/pykrita/<wbr>plugin/krita/mikro.py</a>),<br>
> > but I'm also considering doing full sip-based bindings.<br>
> ><br>
> > Writing those by hand is going to be a chore, so it would be nice if \
the<br> > > autogeneration tool works. This is the bindings library:<br>
> ><br>
> > <a href="https://phabricator.kde.org/diffusion/KRITA/browse/rempt%252FT1625-python-scripting/plugins/extensions/pykrita/libkis/" \
rel="noreferrer" target="_blank">https://phabricator.kde.org/<wbr>diffusion/KRITA/brow \
se/rempt%<wbr>252FT1625-python-scripting/<wbr>plugins/extensions/pykrita/<wbr>libkis/</a><br>
> ><br>
> > (Very rough, most things aren't implemented yet, and I generated it \
from a<br> > > dumb definition file.)<br>
><br>
> I haven't had a look yet. Hopefully the generator will be usable for \
those<br> > kinds of things.<br>
><br>
> Thanks,<br>
><br>
> Steve.<br>
><br>
<br>
--<br>
Boudewijn Rempt | <a href="http://www.krita.org" rel="noreferrer" \
target="_blank">http://www.krita.org</a>, <a href="http://www.valdyas.org" \
rel="noreferrer" target="_blank">http://www.valdyas.org</a><br> \
</blockquote></div></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic