f3d-app/f3d-superbuild

python wheels improvements

Opened this issue · 1 comments

          I suggest we move forward and even if it's not perfect, the wheels are properly generated.  

Here is the dispatch workflow run: https://github.com/Meakk/f3d-superbuild/actions/runs/5753444662

We still have many things to do for Python anyway before the release (rework bindings, monkey patching and pytest).
I tested the wheels 3.11 Linux and 3.9 Windows successfully.

I identified these remaining things to do in a (more or less) near future:

  • Enable sscache and run the worflow automatically (@mwestphal? ^^)
  • Avoid symlink/soversion duplication of zlib (and future shared deps) to reduce Linux/macOS wheel size
  • Enable TBB (now that shared libs copy is working, it should work out of the box)
  • Enable raytracing? Probably challenging because of dynamic loading
  • Add tests of wheels with pytest (can be run automatically by ciwheelbuild after each wheel generation)
  • Add more platforms (priority on ARM), cross-compiling is supported by ciwheelbuild
  • Add a release workflow for automatic upload to PyPI

Originally posted by @Meakk in #76 (comment)

upload on pypi is functionnal now