Files
liblc3/python/meson.build
Eli Schwartz 3f05fcb8f2 python bindings: build/install via integrated meson support
The meson build system has builtin support for python packaging, and
unlike hatchling it is spec-compliant. Additionally, meson is already
responsible for building the shared library itself, which the python
build backend can then distribute inside the wheel. This allows shipping
a wheel that can find its own liblc3.so via ctypes and doesn't require
passing paths to the library around, nor to install both separately and
hope that this works.
2024-02-27 14:36:26 -08:00

4 lines
72 B
Meson

py = import('python').find_installation()
py.install_sources('lc3.py')