Results 1 to 4 of 4

Thread: Platform independent Python packages

  1. #1
    Join Date
    Dec 2004
    Beans
    297

    Platform independent Python packages

    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. #2
    Join Date
    Dec 2004
    Beans
    297

    Re: Platform independent Python packages

    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. #3
    Join Date
    Mar 2008
    Location
    Italy, Milan
    Beans
    234
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Platform independent Python packages

    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. #4
    Join Date
    Mar 2008
    Location
    Italy, Milan
    Beans
    234
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Platform independent Python packages

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

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •