we must check for python in different way
Debian bullseye
Run-time dependency libhandy-1 found: YES 1.0.3
Pkg-config binary for MachineChoice.HOST is cached.
Determining dependency 'python3' with pkg-config executable '/usr/bin/pkg-config'
PKG_CONFIG_PATH:
Called `/usr/bin/pkg-config --modversion python3` -> 1
Run-time dependency python3 found: NO (tried pkgconfig and sysconfig)
../meson.build:29:0: ERROR: Dependency "python3" not found, tried pkgconfig and sysconfig
Edited by David Heidelberg