MCPcopy Create free account
hub / github.com/numpy/numpy / __init__

Method __init__

numpy/f2py/_backends/_meson.py:138–145  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

136
137class MesonBackend(Backend):
138 def __init__(self, *args, **kwargs):
139 super().__init__(*args, **kwargs)
140 self.dependencies = self.extra_dat.get("dependencies", [])
141 self.meson_build_dir = "bbdir"
142 self.build_type = (
143 "debug" if any("debug" in flag for flag in self.fc_flags) else "release"
144 )
145 self.fc_flags = _get_flags(self.fc_flags)
146
147 def _move_exec_to_root(self, build_dir: Path):
148 walk_dir = Path(build_dir) / self.meson_build_dir

Callers

nothing calls this directly

Calls 3

anyFunction · 0.85
_get_flagsFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected