PDA

View Full Version : making debs of python apps



ssam
July 27th, 2006, 05:14 PM
hello

i have a python application than can be installed using

./setup.py install

i'd like to make a .deb package of it.

i've read through the debian new maintainers guide, but it seems to assume that your program use the

./configure
make
make install
method.

does anyone know a good howto, or a program to look at as an example?

thanks

sam

mlind
July 28th, 2006, 11:19 PM
Debian python policy should help you (Appendix B)
http://www.debian.org/doc/packaging-manuals/python-policy/

cdbs contains nice helper class for pyton that should help too
https://perso.duckcorp.org/duck/cdbs-doc/cdbs-doc.xhtml#id2500317

ssam
August 3rd, 2006, 04:19 PM
thanks

i also found this http://maemo.org/platform/docs/pymaemo/python_maemo_howto.html which describes making deb packages to nokia 770s. they make a Makefile that runs the setup.py script.

ssam
August 5th, 2006, 10:08 AM
it works (works for me on 2 ubuntu machines).

http://sourceforge.net/project/showfiles.php?group_id=172470