Le lundi 05 juin 2006 à 17:57 +0200, Arthur de Jong a écrit : > Subject: python-support: please provide documentation > Package: python-support > Version: 0.2.2 > Severity: wishlist > > Please provide some (links to) documentation for using python-support in > my packages. After some digging I found this: > http://wiki.debian.org/DebianPythonFAQ > but it does not seem very complete (a lot of if... without the else... > clause)
The upcoming python-support 0.3 will include an improved dh_pysupport script which should make packaging straightforward, by moving the files from standard places to python-support places and adding required dependencies automatically. But you're right, an example should be included. > I'm packaging a simple python application (webcheck) but most > documentation (and stuff on the mailing list) is about public modules > and extensions. I also ship a symlink in /usr/bin: > /usr/bin/webcheck -> ../lib/python2.3/site-packages/webcheck/webcheck.py > what to do with it. I think you should stop ship it as a symbolic link, as this way it cannot cope with major python upgrades. A better way would be to make /usr/bin/webcheck a very small script looking like: #! /usr/bin/python import webcheck webcheck.main() (I have no idea of the actual needed syntax, but I think you get the idea.) -- .''`. Josselin Mouette /\./\ : :' : [EMAIL PROTECTED] `. `' [EMAIL PROTECTED] `- Debian GNU/Linux -- The power of freedom
signature.asc
Description: Ceci est une partie de message numériquement signée