Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

How can i distribute my python programs as debian apps?

Programming languages, Coding, Executables, Package Creation, and Scripting.
Post Reply
Message
Author
ph0b0s
Posts: 21
Joined: 2006-08-19 23:36
Location: Belgium

How can i distribute my python programs as debian apps?

#1 Post by ph0b0s »

Can someone please point me to a howto of some sort for what i want to do?

I would like to be able to make .deb packages with my python programs, including deps info
so they can be installed with dpkg...

User avatar
osmo
Posts: 55
Joined: 2006-03-15 14:40
Location: Finland

#2 Post by osmo »

Well, not a HOWTO, but you should read the Debian Python Policy. Note that the policy has been recently updated, so if you find some tutorial or HOWTO, make sure it's up to date.
http://www.debian.org/doc/packaging-man ... on-policy/

If looking for examples of minimalistic simple cases using distutils, python-chardet comes to mind.

I don't know how to package anything myself, but being a Python programmer I have been keeping an eye Debian's Python handling.

ajdlinux
Posts: 2452
Joined: 2006-04-23 09:37
Location: Port Macquarie, NSW, Australia

#3 Post by ajdlinux »

The easiest way is to apt-get source an existing python program and see how they do it.
Jabber: xmpp:ajdlinux@jabber.org.au
Spammers, email this: ajdspambucket@exemail.com.au

Post Reply