aboutsummaryrefslogtreecommitdiff
path: root/utils/scanpypi
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2021-02-16 22:45:12 +0100
committerGravatar Yann E. MORIN <yann.morin.1998@free.fr>2021-02-20 17:42:46 +0100
commitee8b6808169e1e61b4318b44fbc706ec888c605d (patch)
treec1963d1285f2411be1940dd6ee97ee821e966d72 /utils/scanpypi
parent3590ebec28d4f46b1396c8f840d3adf80eba52f1 (diff)
downloadbuildroot-ee8b6808169e1e61b4318b44fbc706ec888c605d.tar.gz
buildroot-ee8b6808169e1e61b4318b44fbc706ec888c605d.tar.bz2
utils/scanpypi: use python3 explicitly
scanpypi is python3 compatible. In addition, it executes the setup.py of Python modules to extract the relevant information. Since these are more and more commonly using python3 constructs, using "python" to run scanpypi causes problems on systems that have python2 installed as python, when trying to parse setup.py scripts with python3 constructs. Fixes part of #13516. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Diffstat (limited to 'utils/scanpypi')
-rwxr-xr-xutils/scanpypi2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/scanpypi b/utils/scanpypi
index 51bc249f9e..47c7c00c60 100755
--- a/utils/scanpypi
+++ b/utils/scanpypi
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""
Utility for building Buildroot packages for existing PyPI packages