Reply
Thread Tools
Posts: 89 | Thanked: 131 times | Joined on Oct 2009
#1
Hello,

I'm really struggling to understand how to package a Python/QT app I have written for the N9.

My theory (perhaps naively) is that I would use pyside-assistant/psa to create a directory, put my files inside the directory, and then use setup.py to point to the 'script' (the file that should be 'run') and the modules used.

But upon running psa build-deb, while I get no errors in the psa log file (everything seems to work), no .deb file is created, and I get a 'Failed to build initial package.' error on the command line.

Even when I try and strip everything to an absolute minimum, with a simple main.py containing just 'print "hello"', with setup.py pointing to main as the only module and the only script, it fails.

Can anyone help?

Please...

Thanks

Robert
 
ZogG's Avatar
Posts: 1,389 | Thanked: 1,857 times | Joined on Feb 2010 @ Israel
#2
https://github.com/khertan/PyPackager That might be helpful
__________________
IRC nick on freenode — ZogG
imgrup
 
Posts: 187 | Thanked: 121 times | Joined on Jun 2011 @ Subang Jaya, Selangor Darul Ehsan, Malaysia
#3
I am lazy, so I use QtCreator to package my scripts.

This is the .pro file for one of my project: https://bitbucket.org/jeffrey04/rest...de-toggler.pro
 

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


 
Forum Jump


All times are GMT. The time now is 06:30.