Explicitly use python3 for pyodide_build

This commit is contained in:
Ashutosh Sathe 2019-01-09 20:56:46 +05:30
parent 8dbee7fdac
commit 2440491e45
1 changed files with 2 additions and 2 deletions

View File

@ -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 "$@"