gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ✘Templating


From: Bernd Zeimetz
Subject: Re: ✘Templating
Date: Sat, 4 Jan 2020 00:46:54 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

On 1/3/20 7:48 PM, Gary E. Miller wrote:
> I still "encourages" the use of:
>     #!/usr/bin/env python
> 
> I know that most distros act against the watered down PEP 394.  What sort
> of mangling is common by distros?  Is the ability to substitute
> for python, python2, python3, python2.7, python3.8, etc. all that is
> needed?

For Debian I need to get a #!/usr/bin/python3 in there...
If scons does that for me or I'll use some Debian magic - doesn't matter
for me. But most distributions want to set the python version in the
shebang that they build the gpsd modules for. With SCLs this might also
be something awkward in /opt/.../pythonX.Y/bin/ or so.

-- 
 Bernd Zeimetz                            Debian GNU/Linux Developer
 http://bzed.de                                http://www.debian.org
 GPG Fingerprint: ECA1 E3F2 8E11 2432 D485  DD95 EB36 171A 6FF9 435F



reply via email to

[Prev in Thread] Current Thread [Next in Thread]