[Distutils] Persistent system-level files across installations
barry at python.org
Wed Oct 5 22:50:49 CEST 2011
On Oct 04, 2011, at 01:55 PM, Floris Bruynooghe wrote:
>You will have to do this in your application yourself: don't let a
>file be installed but create them at runtime. If you're following
>Debian policy (which you should) you should remove the created files
>in the postrm script of the Debian package when the package is being
>purged (but not when removed). The Debian policy  explains all
>these rules. As I've never used stdeb I don't know if that provides
>you with the required functionality however.
No, I don't believe it does, though it's been a while since I used stdeb. Not
that it provides any more help for Mac's original question, but these days I
tend to use pkgme for the initial debian layout (if I don't just cargo cult it
from a working package that is ;).
More information about the Distutils-SIG