def meson_setup():
meson_exe = shutil.which('<STR_LIT>')<EOL>ninja_exe = shutil.which('<STR_LIT>')<EOL>if not meson_exe or not ninja_exe:<EOL><INDENT>raise FileNotFoundError('<STR_LIT>')<EOL><DEDENT>if not (BINDIR / '<STR_LIT>').is_file():<EOL><INDENT>subprocess.check_call([meson_exe, str(SRCDIR)], cwd=BINDIR)<EOL><DEDENT>ret = subprocess.run(ninja_exe, cwd=BINDIR, stderr=subprocess.PIPE,<EOL>universal_newlines=True)<EOL>result(ret)<EOL>
attempt to build with Meson + Ninja