Recently, while researching a blog post or two about how to package python apps, I’ve run across some really good resources on packaging that I’d like to point out. One is Ubuntu-oriented and the other is debian-oriented, but a deb is a deb so use which every one you prefer.
The first: https://wiki.ubuntu.com/PackagingGuide/Python is from the Ubuntu wiki which is a really good source for all things Ubuntu. The wiki entries tend to be clearly written and easy to read which is a blessing. This particular wiki entry takes one through packaging a python app from beginning to end in a straight forward manner – nothing really complex here. It should cover about 90% of the packaging requirements of python Maemo apps.
The second: http://www.debian-administration.org/articles/336 is from the site Debian Administration which is a great site. The site has an active community and some experienced admins post there so you’ll definitely find advanced topics like chroots, MTA configuration, etc. The article I pointed out is a fairly thorough discussion on packaging with some theory at the beginning.
The downside of the first article is that it describes using CDBS which requires more editing of files and is not as widely used as debhelper. The second article is a little older and doesn’t take advantage of the changes to debhelper that have come along in later versions. But between them I am sure you’ll find something useful and they are a great way to get started.