mirror of https://github.com/pyodide/pyodide.git
Explicitly use python3 for pyodide_build
This commit is contained in:
parent
8dbee7fdac
commit
2440491e45
|
@ -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 "$@"
|
||||
|
|
Loading…
Reference in New Issue