]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-95205: Improve wasm README (#95206)
authorErlend Egeberg Aasland <erlend.aasland@innova.no>
Mon, 25 Jul 2022 07:42:50 +0000 (09:42 +0200)
committerGitHub <noreply@github.com>
Mon, 25 Jul 2022 07:42:50 +0000 (09:42 +0200)
Co-authored-by: Christian Heimes <christian@python.org>
Tools/wasm/README.md

index 40f23a396f6711c630275cd92755239ad074d350..b9d773b226959908269a7341bc0a1b269dc6e4de 100644 (file)
@@ -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