mirror of
https://github.com/google/liblc3.git
synced 2026-04-18 13:44:49 +00:00
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.
This commit is contained in:
committed by
Antoine SOULIER
parent
a01c060807
commit
3f05fcb8f2
3
python/meson.build
Normal file
3
python/meson.build
Normal file
@@ -0,0 +1,3 @@
|
||||
py = import('python').find_installation()
|
||||
|
||||
py.install_sources('lc3.py')
|
||||
Reference in New Issue
Block a user