From: Antonio Valentino <antonio.valentino@tiscali.it>
Date: Sun, 3 Dec 2023 12:02:15 +0100
Subject: Do not use distutils

---
 compyle/ext_module.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/compyle/ext_module.py b/compyle/ext_module.py
index b31c6b8..4b51ad4 100644
--- a/compyle/ext_module.py
+++ b/compyle/ext_module.py
@@ -1,8 +1,8 @@
 # Standard library imports
 from contextlib import contextmanager
-from distutils.sysconfig import get_config_vars
-from distutils.util import get_platform
-from distutils.errors import CompileError, LinkError
+from sysconfig import get_config_vars
+from sysconfig import get_platform
+from setuptools.errors import CompileError, LinkError
 from Cython.Compiler.Errors import PyrexError
 import hashlib
 import importlib
