From 0a4651937c4ce6ab5ba8e5f19e55f2e288f8697c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 1 Jul 2024 07:41:02 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=AA=A9=20Automated=20fixes=20from=20https?= =?UTF-8?q?://pre-commit.ci?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- setup.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 1f75215..f568ffd 100644 --- a/setup.py +++ b/setup.py @@ -197,10 +197,10 @@ def run(self): # Build a static binary on Windows to avoid missing DLLs from MinGW, # i.e., libgcc_s_seh-1.dll, libstdc++-6.dll, etc. BUILD_STATIC = ( - os.environ.get("GOOS") == "windows" or - sys.platform == "win32" or - "linux-musl" in os.environ.get("CC", "") or - "linux-musl" in os.environ.get("CXX", "") + os.environ.get("GOOS") == "windows" + or sys.platform == "win32" + or "linux-musl" in os.environ.get("CC", "") + or "linux-musl" in os.environ.get("CXX", "") ) if BUILD_STATIC: ldflags.append("-extldflags '-static'")