From 0cc71aef39d3b37d87e4e3eca2d6862784b43cf2 Mon Sep 17 00:00:00 2001 From: Jorge Acereda Date: Sat, 10 Feb 2024 21:15:11 +0100 Subject: [PATCH] build: use python3 everywhere --- libnopegl/meson.build | 2 +- scripts/aberth-init.py | 2 +- scripts/release-changelog.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libnopegl/meson.build b/libnopegl/meson.build index e3eb5c635..fe6af1113 100644 --- a/libnopegl/meson.build +++ b/libnopegl/meson.build @@ -125,7 +125,7 @@ endif # out-of-tree builds. # Adjusted from https://github.com/mesonbuild/meson/issues/7485 trim_prefix = run_command([ - find_program('python'), '-c', 'import sys,os;print(os.path.relpath(*sys.argv[1:3]))', + find_program('python3'), '-c', 'import sys,os;print(os.path.relpath(*sys.argv[1:3]))', meson.current_source_dir(), meson.project_build_root(), ], check: true).stdout().strip() diff --git a/scripts/aberth-init.py b/scripts/aberth-init.py index 79f174f1b..d087063b3 100644 --- a/scripts/aberth-init.py +++ b/scripts/aberth-init.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """ This is used to define Aberth-Ehrlich constants in distmap.frag diff --git a/scripts/release-changelog.py b/scripts/release-changelog.py index 8e36e456d..e7ab41fa3 100755 --- a/scripts/release-changelog.py +++ b/scripts/release-changelog.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """ Extract the changelog for a given tag or version