On 8/25/2020 11:50 AM, Jon Turney wrote:
On 24/08/2020 13:58, Ken Brown via Cygwin-apps wrote:
On 8/24/2020 6:31 AM, Marco Atzeri via Cygwin-apps wrote:
Any preference ? For the last option I will use alternatives
It should default to python3. Fedora performs this via an extra package
python-unversioned-command, containing just a symlink /usr/bin/python ->
./python3 as well as a man page symlink /usr/share/man/man1/python.1.gz
-> ./python3.1.gz. We could just do the same, no?
Seems like a good idea.
I think it's time to make python point to python3. I suggest setting
/usr/bin/python -> python3
But we'd also need to audit that all packages that containing python scripts
either:
- use a shebang which names python and work with python3
- use a shebang which explicitly names python2 or python3
We could start with a HEADSUP to maintainers asking them to check their python
scripts whose shebangs name python. For those scripts whose maintainers don't
respond, we could simply change the scripts to name python2.
Do you have any idea roughly how many scripts we're talking about?
Ken