build(python): updated all python bindings to reflect serif name

This commit is contained in:
2025-06-12 13:46:32 -04:00
parent 9c65301b21
commit 353e2072e7
9 changed files with 23 additions and 12 deletions

View File

@@ -2,7 +2,7 @@
py_installation = import('python').find_installation('python3')
py_mod = py_installation.extension_module(
'fourdsse_bindings', # Name of the generated .so/.pyd file (without extension)
'serif', # Name of the generated .so/.pyd file (without extension)
sources: [
meson.project_source_root() + '/src/python/bindings.cpp',
meson.project_source_root() + '/src/python/composition/bindings.cpp',
@@ -18,5 +18,4 @@ py_mod = py_installation.extension_module(
],
cpp_args : ['-UNDEBUG'], # Example: Ensure assertions are enabled if needed
install : true,
subdir: 'fourdstar' # Optional: Install the module inside a 'fourdsse' Python package directory
)