Using executable scripts with shebang is risky on UNIX, where python3 may not be present. Instead, use find_program('python3'), which Meson provides a fallback for if it cannot find it in the environment.