From 2440491e4580a788f8623df1feaff67922782475 Mon Sep 17 00:00:00 2001 From: Ashutosh Sathe <2ashutoshbs@gmail.com> Date: Wed, 9 Jan 2019 20:56:46 +0530 Subject: [PATCH] Explicitly use python3 for pyodide_build --- bin/pyodide | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/pyodide b/bin/pyodide index 653c925c9..09c638991 100755 --- a/bin/pyodide +++ b/bin/pyodide @@ -1,9 +1,9 @@ #!/bin/bash # get the absolute path to the root directory -ROOTDIR=$(python -c 'import pathlib, sys; \ +ROOTDIR=$(python3 -c 'import pathlib, sys; \ print(pathlib.Path(sys.argv[1]).resolve().parents[1])' \ "${BASH_SOURCE[0]}") export PYTHONPATH="${PYTHONPATH}:${ROOTDIR}" -python -m pyodide_build "$@" +python3 -m pyodide_build "$@"