mirror of
https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git
synced 2026-10-25 12:39:18 +03:00
When building tests using the build_tests.py script, we try to increase the verbosity using setuptools.logging.configure() preferably but falling back to distutils.log.set_verbosity() if the former is missing. This however creates a hard dependency on distutils on older environments missing the recently added setuptools method. The build however, can work fine even with default (low) verbosity so instead of bailing out if the second import fails, just keep going. Reviewed-by: Vincent Fazio <vfazio@xes-inc.com> Closes: https://github.com/brgl/libgpiod/issues/109 Link: https://lore.kernel.org/r/20241127133139.120107-1-brgl@bgdev.pl Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
2.5 KiB
2.5 KiB