From e4a733de641e46ade540c7564ce45736353a5d82 Mon Sep 17 00:00:00 2001 From: milanofthe Date: Wed, 27 May 2026 11:10:34 +0200 Subject: [PATCH] Document Pyodide compatibility marker convention --- pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index f4e7dc9..75f2b14 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,6 +29,10 @@ dependencies = [ "pathsim", "numpy>=1.15,<2", "scipy>=1.2", + # If a dependency ships native code that can't be installed in Pyodide, + # tag it with `; sys_platform != 'emscripten'` so a normal pip install + # still pulls it eagerly but micropip in the browser skips it. Pair + # this with a defensive re-export in `pathsim_vehicle/__init__.py`. ] [project.optional-dependencies]