Ubuntu Forums Archive Viewer

Platform independent Python packages

Archived thread 1045790 from Packaging and Compiling Programs. Markdown source: Packaging_and_Compiling_Programs/thread_1045790_Platform_independent_Python_packages.md

Original URL About this archive
#1

Following some of the how-tos that lurk in the darker corners of the net, I've been trying to build my first ever debian package from a small python program that I've written. I've successfully built a package that seems to work, but I can't get it to be for the 'all' architecture type.

I've tried moving everything in my rules file from binary-arch into binary-indep - as suggested in the Debian documentation - but to no avail. There's no reference to i386 in any of the files in my debian folder but dpkg-buildpackage keeps going back to it.

What's the trick that I'm missing?

#2

Sorted. I must have simply had a dodgy character in one of my files because when I re-pasted them from my crib sheets, a xxx_all.deb file popped out.

After hours of tearing my hair out and scouring the web. Aaaargh!

#3

I'm also trying to build a simple debian package from my pygtk application but, following the instructions here, I reach a debian package which creates the directories but nots the files inside. Can u tell me please if u used a similar procedure and if u found similar problems? Maybe u can give some advice on the correct procedure to follow? Thanks, Regards.

#4

Ok I finally was able to create my package and publish it, I advice this guide over all tutorials/howtos found in the network.