PyMaemo/Scratchboxless packaging guide
From Maemo Wiki
Introduction
The usual way of developing Maemo applications is using or Scratchbox or MADDE, which are quite heavy for Python development. An alternative is using stdeb, a set of extensions to distutils that allows generating debian packages, both binary and source, that can be installed on the device or sent to the extra-devel repository.
This tutorial will show how to integrate it into your project, building the packages and uploading it to extras-devel.
Prerequisites
As stdeb extends distutils, it is necessary that you have a working setup.py script.
Building a binary package
Building a souce package
Uploading to extras
Future work
Support for non-debian systems.