Waf 2.1 fix python tool
Replaces !2331 (closed)
I would suggest we continue to support the condition
here via distutils
. It would raise a deprecation warning for users of python 3.10 and above (I think). However, only if they use that feature - at which point we can think of a way to fix/replace it.