From 17a0a2ee3eeb9df6e9fcf894d204911c7e6e4eef Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Fri, 31 Mar 2023 06:14:35 +1100 Subject: [PATCH] Removed unnecessary silencing of stderr --- setup.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 9f38170b564..07d6c66d655 100755 --- a/setup.py +++ b/setup.py @@ -273,9 +273,7 @@ def _pkg_config(name): )[::2][1:] cflags = re.split( r"(^|\s+)-I", - subprocess.check_output(command_cflags, stderr=stderr) - .decode("utf8") - .strip(), + subprocess.check_output(command_cflags).decode("utf8").strip(), )[::2][1:] return libs, cflags except Exception: