Migrate away from deprecated distutils
authorMatthias Goergens <matthias.goergens@gmail.com>
Tue, 11 Apr 2023 11:08:40 +0000 (19:08 +0800)
committerNikolaus Rath <Nikolaus@rath.org>
Tue, 11 Apr 2023 12:32:00 +0000 (13:32 +0100)
commiteb88309882e0d88b726d0b1c3f4fb1ee7f56bd39
tree989354ce8c60042825c4b134aba03372a0702b72
parent04215e9a9018910a21702c8fb4cc51d95f2f5eef
Migrate away from deprecated distutils

Before:

```
=============================== warnings summary ===============================
test/test_ctests.py:12
  /tmp/libfuse-build-mB50ZC/build-gcc-9/test/test_ctests.py:12: 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.version import LooseVersion

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
```
test/ci-install.sh
test/test_ctests.py
test/test_examples.py