[Buildroot] [PATCH] utils/scanpypi: don't hardcode python2

Yegor Yefremov yegorslists at googlemail.com
Sun Apr 1 05:37:08 UTC 2018


On Fri, Mar 30, 2018 at 11:48 PM, Peter Korsgaard <peter at korsgaard.com> wrote:
> 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 <peter at korsgaard.com>

Reviewed-by: Yegor Yefremov <yegorslists at googlemail.com>

> ---
>  utils/scanpypi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/utils/scanpypi b/utils/scanpypi
> index 505ba0a246..df8939b82e 100755
> --- a/utils/scanpypi
> +++ b/utils/scanpypi
> @@ -1,4 +1,4 @@
> -#!/usr/bin/env python2
> +#!/usr/bin/env python
>  """
>
>  Utility for building Buildroot packages for existing PyPI packages
> --
> 2.11.0
>


More information about the buildroot mailing list