OpenWaterAnalytics / epanet-python

python wrapper for epanet library
76 stars 40 forks source link

GitHub action wheels #86

Closed samrensenhouse closed 2 years ago

samrensenhouse commented 2 years ago

This adds a manual trigger to build wheels for most major platforms and publish them as well as the source distribution to pypi.

The CMakefile was revamped so that the pythonlib was not bundled with the build anymore which allows for manylinux wheels to be created.

The tests were also slightly altered so they would pass when testing the wheels.

This is based off what was done for epanet-msx-python: https://github.com/OpenWaterAnalytics/epanet-msx-python/blob/main/.github/workflows/build_wheels.yml