feat(bindings): ported most bindings over from serif

This commit is contained in:
2025-07-22 13:51:43 -04:00
parent 706f47f807
commit dd0025232a
28 changed files with 1252 additions and 0 deletions

20
build-python/meson.build Normal file
View File

@@ -0,0 +1,20 @@
# --- Python Extension Setup ---
py_installation = import('python').find_installation('python3')
py_mod = py_installation.extension_module(
'fourdst', # Name of the generated .so/.pyd file (without extension)
sources: [
meson.project_source_root() + '/src-pybind/bindings.cpp',
meson.project_source_root() + '/src-pybind/composition/bindings.cpp',
meson.project_source_root() + '/src-pybind/constants/bindings.cpp',
meson.project_source_root() + '/src-pybind/config/bindings.cpp',
],
dependencies : [
pybind11_dep,
const_dep,
config_dep,
composition_dep,
],
cpp_args : ['-UNDEBUG'],
install : true,
)