View Single Post
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#1
So, I have an app written with Python 3, using the requests module for the http API and gi.repository.Notify for showing notifications. Now I'd like to port it to Fremantle.

And here the problem arises. There are virtually no modules for Python 3 on Fremantle. Is there any way I could bundle the modules with my app?

I guess that porting the needed modules from Debian is out of reach. And requires much too much work.

Old contents:
I'm working on a simple app written in python3 which core feature is displaying notifications. It already works on desktop using the python bindings for libnotify.

Code:
import gi
gi.require('Notify', '0.7')
from gi.repository import Notify

# and so on
Now I'd like to port it to Fremantle. There are no binding for libnotify for python3 on Fremantle, no dbus module for python3.

I'll have to create a separate method of displaying notifications and I don't mind it. But what method would you suggest?
Using shell and `dbus-send` comes to my mind but its awful.
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here

Last edited by marmistrz; 2016-08-16 at 11:02.
 

The Following User Says Thank You to marmistrz For This Useful Post: