From f82aa83bb0ddc23fe986f6f31e583afcdd8af02d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 7 Jun 2024 12:22:33 +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 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/setup.py b/setup.py index be0afef..12f1229 100644 --- a/setup.py +++ b/setup.py @@ -196,9 +196,7 @@ 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" - ) + BUILD_STATIC = os.environ.get("GOOS") == "windows" or sys.platform == "win32" if BUILD_STATIC: ldflags.append("-extldflags '-static'")