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

Method meson_build_template

numpy/f2py/_backends/_meson.py:58–66  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

56 self.python_exe = python_exe
57
58 def meson_build_template(self) -> str:
59 if not self.build_template_path.is_file():
60 raise FileNotFoundError(
61 errno.ENOENT,
62 "Meson build template"
63 f" {self.build_template_path.absolute()}"
64 " does not exist.",
65 )
66 return self.build_template_path.read_text()
67
68 def initialize_template(self) -> None:
69 self.substitutions["modulename"] = self.modulename

Callers 1

generate_meson_buildMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected