build(python): gridfire uses fourdst wheel in python mode

This commit is contained in:
2026-06-12 14:30:59 -04:00
parent 3b9a6eba5a
commit 61cd7359d4
16 changed files with 469 additions and 321 deletions

View File

@@ -36,28 +36,16 @@ if get_option('build_python')
]
if meson.is_cross_build() and host_machine.system() == 'darwin'
py_mod = shared_module(
'_gridfire',
sources: py_sources,
dependencies: gridfire_py_deps,
name_prefix: '',
name_suffix: 'so',
install: true,
install_rpath: gridfire_ext_rpath,
install_dir: py_installation.get_install_dir() + '/gridfire'
)
else
py_mod = py_installation.extension_module(
'_gridfire',
sources: py_sources,
dependencies : gridfire_py_deps,
install : true,
install_rpath: gridfire_ext_rpath,
subdir: 'gridfire',
)
endif
py_mod = py_installation.extension_module(
'_gridfire',
sources: py_sources,
dependencies: gridfire_py_deps,
install: true,
link_args: gridfire_ext_rpath_args,
build_rpath: gridfire_ext_rpath,
install_rpath: gridfire_ext_rpath,
subdir: 'gridfire',
)
py_installation.install_sources(
files(