Re: Maintainer scripts, debconf and Python

2015-06-09 Thread Barry Warsaw
On Jun 09, 2015, at 10:05 PM, Andrey Rahmatullin wrote: >I don't think the language of the software itself matters here at all. Except of course it should be Python 3, not Python 2. ;) Cheers, -Barry pgp72_qCDJkRv.pgp Description: OpenPGP digital signature

Re: Maintainer scripts, debconf and Python

2015-06-09 Thread Andrey Rahmatullin
On Tue, Jun 09, 2015 at 07:22:42PM +0200, Jakub Wilk wrote: > >>E: tilelite: forbidden-config-interpreter #!/usr/bin/python > >> > >>https://lintian.debian.org/tags/forbidden-config-interpreter.html > >> > >>This says that the config script can only count on essential packages > >>being installed,

Re: Maintainer scripts, debconf and Python

2015-06-09 Thread Jakub Wilk
* Andrey Rahmatullin , 2015-06-09, 22:05: E: tilelite: forbidden-config-interpreter #!/usr/bin/python https://lintian.debian.org/tags/forbidden-config-interpreter.html This says that the config script can only count on essential packages being installed, which directly contradicts Policy secti

Re: Maintainer scripts, debconf and Python

2015-06-09 Thread Andrey Rahmatullin
On Tue, Jun 09, 2015 at 05:45:10PM +0100, Christopher Baines wrote: > E: tilelite: forbidden-postrm-interpreter #!/usr/bin/python > > https://lintian.debian.org/tags/forbidden-postrm-interpreter.html > > The above page says that you have to use (sh, bash, or perl) for the > postrm script. I canno

Maintainer scripts, debconf and Python

2015-06-09 Thread Christopher Baines
I have been attempting to write some maintainer scripts for a small bit of software called tilelite [1], its a lightweight tileserver. My aim was to enable the user installing the package to have something working once the installation is finished (if they wanted to). Quite conveniently, through de