Skip to content

Commit

Permalink
Add python_stdlib.zip to xbuildenv (#3760)
Browse files Browse the repository at this point in the history
Resolves #3730
  • Loading branch information
ryanking13 committed Apr 12, 2023
1 parent e309dfd commit 862163e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/project/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ myst:
a single file.
{pr}`3727`

- {{ Fix }} Fix an issue where the `pyodide venv` command did not work correctly in pyodide-build
version 0.23.0 because of missing `python_stdlib.zip`.
{pr}`3760`

### Build System

- {{ Fix }} Fix `PYODIDE_ROOT` to point the correct directory when running out-of-tree build.
Expand Down
1 change: 1 addition & 0 deletions pyodide-build/pyodide_build/create_xbuildenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def get_relative_path(pyodide_root: Path, flag: str) -> Path:
wasm_lib_dir / "cmake",
Path("dist/repodata.json"),
Path("dist/python"),
Path("dist/python_stdlib.zip"),
]
to_copy.extend(
x.relative_to(pyodide_root) for x in (pyodide_root / "dist").glob("pyodide.*")
Expand Down

0 comments on commit 862163e

Please sign in to comment.