feat(python): added robust python bindings covering the entire codebase

This commit is contained in:
2025-07-23 16:26:30 -04:00
parent 6a22cb65b8
commit f20bffc411
134 changed files with 2202 additions and 170 deletions

View File

@@ -1,8 +0,0 @@
composition_p = subproject('libcomposition')
comp_dep = composition_p.get_variable('composition_dep')
libcomposition = composition_p.get_variable('libcomposition')
spw_dep = composition_p.get_variable('species_weight_dep')
composition_dep = [
comp_dep,
spw_dep,
]

View File

@@ -1,3 +0,0 @@
config_p = subproject('libconfig')
config_dep = config_p.get_variable('config_dep')
libconfig = config_p.get_variable('libconfig')

View File

@@ -1,3 +0,0 @@
const_p = subproject('libconstants')
const_dep = const_p.get_variable('const_dep')
libconst = const_p.get_variable('libconst')

View File

@@ -1,7 +0,0 @@
logging_p = subproject('liblogging')
liblogging = logging_p.get_variable('liblogging')
logging_dep = logging_p.get_variable('logging_dep')
quill_dep = logging_p.get_variable('quill_dep')
log_dep = [logging_dep, quill_dep]

View File

@@ -1,4 +1,13 @@
subdir('libconstants')
subdir('liblogging')
subdir('libconfig')
subdir('libcomposition')
# bring in all of the fourdst utility repositories
fourdst_sp = subproject('fourdst')
composition_dep = fourdst_sp.get_variable('composition_dep')
log_dep = fourdst_sp.get_variable('log_dep')
const_dep = fourdst_sp.get_variable('const_dep')
config_dep = fourdst_sp.get_variable('config_dep')
libcomposition = fourdst_sp.get_variable('libcomposition')
libconst = fourdst_sp.get_variable('libconst')
libconfig = fourdst_sp.get_variable('libconfig')
liblogging = fourdst_sp.get_variable('liblogging')

View File

@@ -6,4 +6,6 @@ subdir('cppad')
subdir('xxHash')
subdir('eigen')
subdir('pybind')

View File

@@ -0,0 +1,3 @@
pybind11_proj = subproject('pybind11')
pybind11_dep = pybind11_proj.get_variable('pybind11_dep')
python3_dep = dependency('python3')