On 31.01.19 15:43, Alexander Kobel wrote:
Addendum:
On 31.01.19 15:39, Alexander Kobel wrote:
Whenever I can, I "correct" shebangs to python2 (without ever having looked up
this PEP), and nobody ever complained that it breaks their workflow.
That is to say: I've yet to encounter a system where python points to python2.x, but at the
same time there's no python2 -> python2.x symlink/hardlink/anylink/copy/wrapper. So I
doubt that adding the "2" will cause any grief.
There are not too many files with a python shebang ...
LANG=c grep -r '^#!' * | grep -v '^Binary file' | grep -v uploads/ | grep -v
downloads/ | grep -v target | grep -i python
bin/cygwin-packager:#! /usr/bin/env python
bin/gub-tester:#! /usr/bin/env python
bin/build-architecture:#! /usr/bin/env python
bin/build-platform:#! /usr/bin/env python
bin/gib:#! /usr/bin/env python
bin/gupdate:#! /usr/bin/env python
bin/gub:#! /usr/bin/env python
bin/gpkg:#! /usr/bin/env python
gub/runner.py:#! /usr/bin/env python
gub/distcc.py:#!/usr/bin/env python
gub/with-lock.py:#!/usr/bin/env python
gub/versiondb.py:#!/usr/bin/env python
sourcefiles/pytt.py:#! @PYTHON@
sourcefiles/python-config.py:#! @PYTHON_FOR_BUILD@
test-lily/rsync-lily-doc.py:#! /usr/bin/env python
test-lily/test-binary.py:#! /usr/bin/env python
test-lily/rsync-test.py:#! /usr/bin/env python
test-lily/upload.py:#! /usr/bin/env python
test-lily/dist-check.py:#! /usr/bin/env python
test-lily/cron-builder.py:#! /usr/bin/env python
Do you want to prepare a patch?
Knut
_______________________________________________
lilypond-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-devel