Skip to content

Python wheels for module and ogs binaries

Lars Bilke requested to merge bilke/ogs:refactor-py-module into master
  • Add CI jobs which build portable Python wheels of OGS
  • The wheel contains the OGS Python module developed for model coupling (import ogs.simulator) and the OGS binaries
    • Once the wheels are uploaded to PyPI (upon the next OGS release) you can install OGS simply by running pip install ogs
    • Right now you can install via test.pypi.org: pip install -i https://test.pypi.org/simple/ ogs
    • Python 3.8 - 3.11 supported
  • The configuration ogs inside the wheel has the following configuration:
    • All processes (except of TH2M on Windows)
    • MFront support
    • No Python boundary conditions support (currently not possible as the build environment for the portable wheels does not include libpythonX.Y.so which is required for OGS_USE_PYTHON=ON, see also PEP 513)
  1. Feature description was added to the changelog
  2. Tests covering your feature were added?
  3. Any new feature or behavior change was documented?
Edited by Lars Bilke

Merge request reports