On Sep 15, 2011, at 06:50 PM, Mac Ryan wrote:
Thanks for this, sooner or later I will try again to have a crack at packaging "from the scratch" but so far I got lost in the many possible way one could do that... [I know - from the presentation you gave somewhere and I found on the intertubes - that I should focus my attention on dh_python2, but so far I haven't been able to find a tutorial easy enough for me to follow. Recommendations on learning material are most than welcome, of course!]
Packaging a simple, well-behaved Python package, with a well-written setup.py *can* be pretty easy, although as I'm finding with my back-and-forth with Piotr and Jakub on my flufl.* packages, not as easy as it *should* be. Still, I think it would be worthwhile to provide some concrete and modern instructions for packaging Python applications from scratch. I'm thinking something more step-by-step instructional than the Debian Python Policy, and less dependent on converting existing packages than TransitionToDHPython2. Once the four of my packages pass muster and get sponsored into Debian, I'll cobble something together for wiki.debian.org/Python. Cheers, -Barry