ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #04740
Re: PyOtherSide: Asynchronous Python Bindings for Qt 5
On 22 October 2013 04:39, Barry Warsaw <barry@xxxxxxxxxx> wrote:
> Please note too that we don't want to ship Python 2 on the touch images for
> 14.04, so if you're going to use Python make sure it's Python 3.
>
The author of PyOtherSide (thp) only officially supports python 3.3+
(although I believe it is possible to build it against other python
versions). I've already updated my app so that it is Python 2 and 3
compatible.
I didn't know about app confinement, and the limits of dependencies on
click packages. I don't think, as a amateur app developer, I'd be
comfortable bundling python itself in my package - but dependent
python modules may be possible. The only python module dependency my
app has at the moment is python-lxml.
In response to why Python, and not a rewrite in C++ - I have no
experience with C/C++. I should probably make the effort to learn, but
haven't found the time, and my app already works on Maemo 5, MeeGo
Harmattan, and SailfishOS. I was hoping to just develop an additional
UI using Ubuntu Touch QML components.
Another alternative is PyQt, which recently added Qt5 Qt Quick
support. I haven't tried this yet, but it's more of a complete
solution, and should make porting existing MeeGo Harmattan PySide apps
very easy (subject to PyQt's GPL license restriction).
It would be fantastic to see some Python support in the SDK, but I
fully understand if that isn't a realistic prospect at the moment!
--
Matt
mail@xxxxxxxxxxxxxxxx
http://mattaustin.me.uk/
References