Skip to content

Commit af6c5e7

Browse files
authored
Merge pull request #191 from dicej/patch-2
remove redundant wording from python.md
2 parents ff4c353 + 50f26f3 commit af6c5e7

File tree

1 file changed

+1
-1
lines changed
  • component-model/src/language-support

1 file changed

+1
-1
lines changed

component-model/src/language-support/python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Component built successfully
100100
Wasm components can also be invoked from Python applications. This walks through using tooling
101101
to call the [`app.wasm` component from the examples](../../examples/example-host/add.wasm).
102102

103-
> `wasmtime-py` is only able to run components built with `componentize-py` when the `--stub-wasi` option is used at build time. This is because `wasmtime-py` does not yet support [resources](../design/wit.md#resources), which components built with `componentize-py` use by default by generating components which import most of the `wasi:cli` world. See [this example](https://github.com/bytecodealliance/componentize-py/tree/main/examples/sandbox) of using the `--stub-wasi` option to generate a `wasmtime-py`-compatible component.
103+
> `wasmtime-py` is only able to run components built with `componentize-py` when the `--stub-wasi` option is used at build time. This is because `wasmtime-py` does not yet support [resources](../design/wit.md#resources), and `componentize-py` by default generates components which use resources from the `wasi:cli` world. See [this example](https://github.com/bytecodealliance/componentize-py/tree/main/examples/sandbox) of using the `--stub-wasi` option to generate a `wasmtime-py`-compatible component.
104104
105105
First, install [Python 3.11 or later](https://www.python.org/) and [pip](https://pypi.org/project/pip/) if you don't already have them. Then, install [`wasmtime-py`](https://github.com/bytecodealliance/wasmtime-py):
106106

0 commit comments

Comments
 (0)