Fix deprecation issue with disutils
Running pytest ends with a warning like this:
tests/test_client.py:19
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_tango/build/tests/test_client.py:19: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
from distutils.spawn import find_executable
Not sure what solution will work with all our supported Python versions, older Linux distributions, etc.
We should use a pyproject.toml file, and include numpy as a build-system requirement. See https://stackoverflow.com/a/68038058.
Edited by Anton Joubert