diff -ur lxml.org/setupinfo.py lxml/setupinfo.py
--- lxml.org/setupinfo.py	2023-10-20 10:32:17.921500435 +0200
+++ lxml/setupinfo.py	2023-10-20 10:33:40.303323572 +0200
@@ -4,7 +4,7 @@
 import os.path
 import subprocess

-from setuptools.command.build_ext import build_ext as _build_ext
+from distutils.command.build_ext import build_ext as _build_ext
 from distutils.core import Extension
 from distutils.errors import CompileError, DistutilsOptionError
 from versioninfo import get_base_dir
