Skip to content
Snippets Groups Projects

refactor the way python is used in dune

Merged Andreas Dedner requested to merge feature/cmake-python-overhaul into master
  1. Oct 22, 2021
    • Andreas Dedner's avatar
    • Andreas Dedner's avatar
      add config.opts file to metadata and enable CMP0087 NEW cmake policy · 4b435368
      Andreas Dedner authored
      comment out CMP0087 NEW cmake policy because it fails on some CI runners
      
      correctly set CMP0087 cmake policy to NEW for cmake >= 3.14
      4b435368
    • Dominic Kempf's avatar
      Adapt dune-geometry to overhaul of the Python-CMake interface · 37ba80d2
      Dominic Kempf authored and Andreas Dedner's avatar Andreas Dedner committed
      added missing 'include_package_data' to setup.py.in
      
      improve on ci
      
      add clang test
      
      pep 42: use implicit namespace packages which make it possible to combine subpackages using editable (source) and non editable (pypi)
      
      only use a cmake install a python module in the SKBUILD setting - for an install from build dir pip will take take of this since it is part of the setup.py file
      
      add a stopgap solution unti ci repo up and running again
      
      Update requirements in setup.py.in to include dune packages
      
      [testing]
      
      only add dune modules that have been found as requirements in setup.py.in
      
      removed setup.py.in since the default is provided in dune-common
      
      adapt ci yml file to python bindings on by default
      
      disable python bindings for clang 5 (ubuntu 18) since no numpy matching numpy version can be installed from the gitlab registry
      
      [testing]
      37ba80d2
Loading