utils/scanpypi: don't hardcode python2
PATCH 1/1 utils/scanpypi: don't hardcode python2
Commit 3a0c20c5309b (scanpypi: add support for Python3) adapted the script to work with python 3.x, but the shebang still said python2 making it unlikely to work on systems without python 2.x.
Change it to just 'python' instead.
--- utils/scanpypi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
utils/scanpypi +1 -1
@@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python """ Utility for building Buildroot packages for existing PyPI packages
Signature · 1 line
2.11.0
PATCH 1/1 utils/scanpypi: don't hardcode python2
Quoted 7 lines · Peter Korsgaard
Commit
3a0c20c5309b(scanpypi: add support for Python3) adapted the script to work with python 3.x, but the shebang still said python2 making it unlikely to work on systems without python 2.x.Change it to just 'python' instead.
Signed-off-by Peter Korsgaard <[email protected]>
Quoted 17 lines
--- utils/scanpypi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)utils/scanpypi +1
-2@@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python """ Utility for building Buildroot packages for existing PyPI packages --2.11.0
Thomas Petazzoni
AppliedPATCH 1/1 utils/scanpypi: don't hardcode python2
In reply to Peter KorsgaardHello,
Quoted 10 lines · Peter Korsgaard
Commit
3a0c20c5309b(scanpypi: add support for Python3) adapted the script to work with python 3.x, but the shebang still said python2 making it unlikely to work on systems without python 2.x.Change it to just 'python' instead.
Signed-off-by Peter Korsgaard <[email protected]>--- utils/scanpypi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com