On Thu, Mar 07, 2024 at 02:25:09PM +0000, Sam James wrote:
> Jakub Jelinek <ja...@redhat.com> writes:
> 
> > On Thu, Mar 07, 2024 at 02:16:37PM +0000, Sam James wrote:
> >> 'python' on some systems (e.g. SLES 15) might be Python 2. Prefer 
> >> ${EPYTHON}
> >> if defined (used by Gentoo's python-exec wrapping), then python3, then 
> >> python.
> >
> > I'd say EPYTHON is too distro specific, just use for python in python3 
> > python ?
> > Other scripts just have
> > #!/usr/bin/env python3
> > as the first line and go with that.
> 
> Sure. Should I add python2 too as well (last), given the script nominally 
> tries to
> work with it still?

Yes.

        Jakub

Reply via email to