This PR introduces cibuildwheel to build wheels for different platforms (i.e. Windows, Linux and macOS).
I'll add a GitHub Actions workflow in the next PR where this can actually be used, but you can try it out locally by running:
$ cibuildwheel --platform linux
(Assuming you have installed build dependencies with poetry install --only build --no-root)
Note that specifying macos or windows as platform only works on that operating system, but linux works on all three, as long as Docker/Podman is installed.
This PR introduces cibuildwheel to build wheels for different platforms (i.e. Windows, Linux and macOS).
I'll add a GitHub Actions workflow in the next PR where this can actually be used, but you can try it out locally by running:
(Assuming you have installed build dependencies with
poetry install --only build --no-root
)Note that specifying
macos
orwindows
as platform only works on that operating system, butlinux
works on all three, as long as Docker/Podman is installed.This will produce 8 wheels: