Skip to content

Commit d0252ca

Browse files
committed
Document Pyodide compatibility marker convention
1 parent 4a73bbb commit d0252ca

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ dependencies = [
3030
"numpy>=1.15",
3131
"scipy>=1.2",
3232
"scikit-rf>=0.30",
33+
# If a dependency ships native code that can't be installed in Pyodide,
34+
# tag it with `; sys_platform != 'emscripten'` so a normal pip install
35+
# still pulls it eagerly but micropip in the browser skips it. Pair
36+
# this with a defensive re-export in `pathsim_rf/__init__.py`
37+
# (the `.network` submodule already follows this pattern).
3338
]
3439

3540
[dependency-groups]

0 commit comments

Comments
 (0)