Skip to content

Commit

Permalink
chore: build pyodide wheel
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-awd committed Jun 7, 2024
1 parent 8356fbd commit a48d96a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_pyodide.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
inputs_wheels_linux_pyodide: 1
inputs_wheels_implementations: b
run:
sudo apt-get install python3-distutils && python scripts/gh_release.py build
python scripts/gh_release.py build


# Upload generated wheels, to be accessible from github Actions page.
Expand Down
4 changes: 3 additions & 1 deletion gh_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -574,9 +574,11 @@ def pyodide_setup(clean=False):
command += f' && echo "### creating venv {venv_pyodide}"'
command += f' && {sys.executable} -m venv {venv_pyodide}'
command += f' && . {venv_pyodide}/bin/activate'
command += f' && echo "### upgrading pip ..."'
command += f' && python -m ensurepip --upgrade'
command += f' && echo "### running pip install ..."'
command += f' && echo "### installing setuptools ..."'
command += f' && python -m pip install --upgrade pip wheel setuptools==70.0.0'
command += f' && python -m pip install --upgrade setuptools'
command += f' && python -m pip install --upgrade pip wheel pyodide-build==0.23.4'

# Run emsdk install scripts and enter emsdk environment.
Expand Down

0 comments on commit a48d96a

Please sign in to comment.