[Python-checkins] gh-95205: Improve wasm README (GH-95206)

miss-islington webhook-mailer at python.org
Mon Jul 25 05:53:02 EDT 2022


https://github.com/python/cpython/commit/df95ad3d721f90bd1339fa12353d9b633ad9d27e
commit: df95ad3d721f90bd1339fa12353d9b633ad9d27e
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-07-25T02:52:47-07:00
summary:

gh-95205: Improve wasm README (GH-95206)


Co-authored-by: Christian Heimes <christian at python.org>
(cherry picked from commit 310f94871a923f6cf3dc9259e732ce2376578b26)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland at innova.no>

files:
M Tools/wasm/README.md

diff --git a/Tools/wasm/README.md b/Tools/wasm/README.md
index 40f23a396f671..b9d773b226959 100644
--- a/Tools/wasm/README.md
+++ b/Tools/wasm/README.md
@@ -23,16 +23,20 @@ to a repository checkout.
 Christian Heimes maintains a container image with Emscripten SDK, Python
 build dependencies, WASI-SDK, wasmtime, and several additional tools.
 
+From within your local CPython repo clone, run one of the following commands:
+
 ```
 # Fedora, RHEL, CentOS
-podman run --rm -ti -v $(pwd):/python-wasm/cpython:Z quay.io/tiran/cpythonbuild:emsdk3
+podman run --rm -ti -v $(pwd):/python-wasm/cpython:Z -w /python-wasm/cpython quay.io/tiran/cpythonbuild:emsdk3
 
 # other
-docker run --rm -ti -v $(pwd):/python-wasm/cpython quay.io/tiran/cpythonbuild:emsdk3
+docker run --rm -ti -v $(pwd):/python-wasm/cpython -w /python-wasm/cpython quay.io/tiran/cpythonbuild:emsdk3
 ```
 
 ### Compile a build Python interpreter
 
+From within the container, run the following commands:
+
 ```shell
 mkdir -p builddir/build
 pushd builddir/build



More information about the Python-checkins mailing list