OpenWaterAnalytics / epanet-python

python wrapper for epanet library
76 stars 40 forks source link

Automate package build and test #23

Closed michaeltryby closed 5 years ago

michaeltryby commented 5 years ago

The epanet-python package contains two Python extension modules epanet.toolkit and epanet.output created using SWIG and epanet2.dll and epanet-output.dll respectively.

The libraries are built separately and the wrappers are generated, built, and linked with them. The code for epanet2.dll requires some patches prior to the library build.

Initial target is Python 3.6 64 bit. Therefore on Windows the target compiler is Visual Studio 14 2015. This is a hard requirement the packages will not build successfully otherwise. This differs from the current target compiler for the OWA epanet/dev (Visual Studio 15 2017).

Tests are currently written using pytest.

michaeltryby commented 5 years ago

See Issue #11