[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

python packaging example with debhelper, dh_pysupport and dh_python2



Hi,

i tried to understand the correct way to package a python module with
debhelper, dh_pysupport and dh_python2.

I created a python-helloworld example package ( get it from
https://code.launchpad.net/~toabctl/+junk/python-helloworld ) and want
to know if i used the correct way to package a simple python module.

questions are:
- are the package dependencies correct or do i need some more substvars?
- what exactly should do dh_python2 and do i need both, dh_pysupport
_and_ dh_python2? i just found the manpage and [1] as dh_python2
documentation and don't exactly understand why i need dh_python2.
- How should i install the python module if i don't have a setup.py . i
use the debian/install file and just copy all files
to /usr/share/pyshared/helloworld . is this correct?


[1] http://people.debian.org/~piotr/dc10_slides.pdf


Cheers,

Tom


Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: