openPMD / openPMD-api

:floppy_disk: C++ & Python API for Scientific I/O
https://openpmd-api.readthedocs.io
GNU Lesser General Public License v3.0
134 stars 51 forks source link

Python Bindings: Sub-Dir/Build #1455

Open ax3l opened 1 year ago

ax3l commented 1 year ago

Restructure the CMake logic to enable building the Python bindings on top of an already installed or super-built C++ library.

This will simplify packaging, e.g., in Conda and Spack - avoiding that pure C++ dependents pull in a dependency to Python and simplifying the amount of things that need to be built per CPython version.