[maemo-developers] how to make install package for applications written in python

From: Guillem Jover guillem.jover at nokia.com
Date: Wed Apr 25 17:01:53 EEST 2007

On Tue, 2007-04-24 at 22:36:10 +0200, ext Kees Jongenburger wrote:
> On 4/24/07, Xi Chen <s060982 at student.dtu.dk> wrote:
> > Could tell me how to make debian package for python applications? I
> > developed my application using python and not in scratchbox environment…
> > directly edit file and test it in real device. Following the tutorial from
> > maemo.org, I found command "dh_make" isn't there in device…

Probably best to check the Debian python policy, there might be some
tools missing in Maemo though, I've not checked that. But it can give
some guidance:


You might want to check general packaging documentation such as:


Some of the things mentioned there might be quite Debian specific,
take that into account.

> Have a look at the closed source maemo sdk installer script they
> create .deb files
> the script show that it's "easy" to create .deb files without needing
> debian at all
> http://repository.maemo.org/stable/bora/maemo-sdk-install_3.1.sh
> I think this is the relevant section
> http://paste-it.net/1993/
> It can be handy to add the right depends in the .deb file

Please don't, creating packages this way does not guarantee getting
proper .deb files. You should have the guarantee to be able to extract
them with raw tar and ar though, but not generating them.

Use dpkg-deb, even if not using Debian, building dpkg is trivial.


More information about the maemo-developers mailing list