From 9be315cc28b21f651174c9bf6109187d003700d3 Mon Sep 17 00:00:00 2001 From: Michael Rapp Date: Sat, 14 Dec 2024 16:45:10 +0100 Subject: [PATCH] Ensure "cython" is installed before running "meson configure". --- build_system/targets/compilation/cython/targets.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build_system/targets/compilation/cython/targets.py b/build_system/targets/compilation/cython/targets.py index 4ced5aa71..050d8915d 100644 --- a/build_system/targets/compilation/cython/targets.py +++ b/build_system/targets/compilation/cython/targets.py @@ -52,7 +52,9 @@ def __init__(self): def run(self, build_unit: BuildUnit, module: Module): Log.info('Compiling Cython code in directory "%s"...', module.root_directory) - MesonConfigure(build_unit, module, build_options=BUILD_OPTIONS) + MesonConfigure(build_unit, module, build_options=BUILD_OPTIONS) \ + .add_dependencies('cython') \ + .run() MesonCompile(build_unit, module).run()