How can i distribute my python programs as debian apps?

Need help with C, C++, perl, python, etc?

How can i distribute my python programs as debian apps?

Postby ph0b0s » 2006-08-27 20:52

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...
ph0b0s
 
Posts: 21
Joined: 2006-08-19 23:36
Location: Belgium

Postby osmo » 2006-08-27 23:00

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-manuals/python-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.
User avatar
osmo
 
Posts: 60
Joined: 2006-03-15 14:40
Location: Finland

Postby ajdlinux » 2006-08-28 21:00

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
ajdlinux
 
Posts: 2480
Joined: 2006-04-23 09:37
Location: Port Macquarie, NSW, Australia


Return to Programming

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable