CadQuery / ocp-build-system

A system to build Python wheel PyPI packages for OCP.
Apache License 2.0
8 stars 11 forks source link

Working VTK build environments for py 39 through py 312 and Linux, MacOS-13, MacOS-14, Windows #31

Closed jdegenstein closed 5 months ago

jdegenstein commented 5 months ago

I had to fall back to using micromamba (only for macos-13 and macos-14) to ensure that the correct python version is used for the build. There is a problem with actions/setup-python with MacOS runners where it does not correctly override the sys-bundled python.

Getting MSVC working properly was also a bit of a chore and necessitated switching off of bash for Windows. I am using cmd.exe but it may also be possible to switch to powershell.

As usual, I found that having separate sections for each OS was needed.