Best practice to only include pyodide-py
in non-emscripten environments
#4769
-
I have a package which currently depends on So which one is better? [project]
dependencies = [
"pyodide-py~=0.26.0a4 ; platform_system != 'Emscripten'",
] Or [project]
dependencies = [
"pyodide-py~=0.26.0a4 ; sys_platform != 'emscripten'",
] |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
They are both very idiomatic, it probably doesn't matter which one. We are thinking about renaming the platform to pyodide fyi. |
Beta Was this translation helpful? Give feedback.
-
Just curious, in which place do you use |
Beta Was this translation helpful? Give feedback.
They are both very idiomatic, it probably doesn't matter which one. We are thinking about renaming the platform to pyodide fyi.