Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added GitHub Action that builds Python wheels on push with new tag
* We only run this on a git push with a new tag. If we wanted this to run with every push (we easily could), it would be good to change the version to e.g. the commit sha, so that we're not building wheels with e.g. version 1.4.0 that are really not 1.4.0 anymore. * We build wheels for all platforms, but I am not sure how universally usable the ubuntu and macos wheels are. The Ubuntu wheels will work on other Ubuntu installations (it did on mine), but pip might try to install them on other Linux distributions that they're not compatible with. It would be safer to use a proper manylinux build here. For macOS, at least the Python3.11 wheels have "universal" in their name, but I don't know how universal they are. So to be safe, we should only ever upload the sdist and Windows wheels to pypi.