Skip to content

Commit

Permalink
Removed unnecessary silencing of stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Mar 30, 2023
1 parent d850ac7 commit 17a0a2e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 17a0a2e

Please sign in to comment.