View Single Post
Posts: 958 | Thanked: 3,426 times | Joined on Apr 2012
#152
Originally Posted by MartinK View Post
I had the same issue with my Python programs - I've fixed it like this:
Code:
# set current directory to the directory
# of this file
# like this, modRana can be run from an absolute path
# eq.: ./opt/modrana/modrana.py -u QML -d n9
import os
os.chdir(os.path.dirname(os.path.abspath(__file__)))
@packaging

I'm using a slightly modified khertans sdist_maemo and it works quite nicely. There is also a (slightly outdated) example how I do it.
Thank you! That worked!

sdist_maemo looks promising. I'll have a go at that now.

All: Does anyone know how to capture when an email/IM comes in? I'd like for Saera to be able to read it, like Siri can.
 

The Following 6 Users Say Thank You to taixzo For This Useful Post: