m-clare / cytriangle

New wrapper for Shewchuk's C Triangle Library with Cython
GNU Lesser General Public License v3.0
4 stars 2 forks source link

CI build recipe for emscripten-forge #5

Open connorferster opened 3 months ago

connorferster commented 3 months ago

I am hoping to add cytriangle to emscripten-forge which, I think, make it possible to install section-properties in a Jupyterlite instance running either the pyodide or xeus-python kernel. This issue is a place for me to assemble information about how to do this (while checking out if this can be done...)

Documentation is here: https://emscripten-forge.org/development/adding_packages/

Example recipe for numpy is here: https://github.com/emscripten-forge/recipes/blob/main/recipes/recipes_emscripten/numpy/recipe.yaml

connorferster commented 3 months ago

Numpy uses meson as a build tool and it seems that meson can build cython packages too. I don't know if using meson is required for to achieve this.

https://mesonbuild.com/Cython.html