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).
The
epanet-python
package contains two Python extension modulesepanet.toolkit
andepanet.output
created using SWIG andepanet2.dll
andepanet-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
.