← Back to team overview

kicad-developers team mailing list archive

Re: Python shebangs

 

On Dienstag, 6. November 2018 15:45:29 CET Steven A. Falco wrote:
> I'd like to have a discussion about python shebangs.  I noticed several
> rpmlint errors when building the official Fedora packages.  Specifically,
> rpmlint is complaining about using "env" as a method for locating the
> python interpreter.  Here are the errors:
> 
> kicad-doc.noarch: E: wrong-script-interpreter
> /usr/share/doc/kicad/scripts/ddr3_length_match.py /usr/bin/env python2
> kicad-doc.noarch: E: wrong-script-interpreter
> /usr/share/doc/kicad/scripts/mk_macos_icons.py /usr/bin/env python
> kicad-doc.noarch: E: wrong-script-interpreter
> /usr/share/doc/kicad/scripts/mk_mime_icons.py /usr/bin/env python

I think the last two should just be deleted from the distribution package / 
not be installed, as these are just maintenance scripts.

Kind regards,

Stefan


References