PDA

View Full Version : Deb file of small python program


Osvaldo
November 12th, 2006, 04:29 AM
Hi.

I'm doing a small program/script in Python and I would like to build a .deb package from it.

Can anyone point to tutorials on how to make a .deb package ?

Is there a graphic tool to do it?

Best regards

Osvaldo

ansi
November 12th, 2006, 04:38 AM
Hi.

I'm doing a small program/script in Python and I would like to build a .deb package from it.

Can anyone point to tutorials on how to make a .deb package ?



Very simple and straight method is to write Makefile file with "install" target and use ``checkinstall`` program for it.

Osvaldo
November 13th, 2006, 04:26 AM
It seems there's no easier way to do this :(


But I've found some help files:

http://www.falkotimme.com/howtos/checkinstall/

http://users.actcom.co.il/~choo/lupg/tutorials/writing-makefiles/writing-makefiles.html

I did't quite understand how do you specify where you want the files to be installed, and how to require dependencies.

I may end up using tar command instead :(

Thanks

Osvaldo

tseliot
November 13th, 2006, 04:31 AM
Try this:
http://maemo.org/platform/docs/pymaemo/python_maemo_howto.html#Distributing+your+Python+a pplications