@@ -2,8 +2,8 @@
# SPDX-FileCopyrightText: 2023 Phil Howard <phil@gadgetoid.com>
"""
-Bring up just enough of setuptools/distutils in order to build the gpiod
-test module C extensions.
+Bring up just enough of setuptools in order to build the gpiod test
+module C extensions.
Set "build_temp" and "build_lib" so that our source directory is not
polluted with artefacts in build/
@@ -81,10 +81,8 @@ try:
from setuptools.logging import configure
configure()
-except ImportError:
- from distutils.log import DEBUG, set_verbosity
-
- set_verbosity(DEBUG)
+except:
+ pass
with tempfile.TemporaryDirectory(prefix="libgpiod-") as temp_dir:
command = build_ext(dist)