Skip to content

Commit 71f4a6d

Browse files
authored
Merge pull request #4 from pathsim/feat/pyodide-compat
Document Pyodide compatibility marker convention
2 parents fa48451 + e4a733d commit 71f4a6d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ dependencies = [
2929
"pathsim",
3030
"numpy>=1.15,<2",
3131
"scipy>=1.2",
32+
# If a dependency ships native code that can't be installed in Pyodide,
33+
# tag it with `; sys_platform != 'emscripten'` so a normal pip install
34+
# still pulls it eagerly but micropip in the browser skips it. Pair
35+
# this with a defensive re-export in `pathsim_vehicle/__init__.py`.
3236
]
3337

3438
[project.optional-dependencies]

0 commit comments

Comments
 (0)