From f9e7374d0699f78b18f2176dca7abea8a6c621cb Mon Sep 17 00:00:00 2001 From: Matt Borgerson Date: Thu, 2 May 2024 13:19:57 -0700 Subject: [PATCH] ? --- setup.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 08b5da3c..5447539b 100644 --- a/setup.py +++ b/setup.py @@ -21,9 +21,8 @@ def run(self): except OSError as exc: raise RuntimeError("Please install CMake to build") from exc - # When building pypcode wheels on GitHub Actions using cibuildwheel, ARCHFLAGS will be set cross_compiling_for_macos_arm64 = ( - platform.system() == "Darwin" and platform.machine() == "x86_64" and "arm64" in os.getenv("ARCHFLAGS", "") + platform.system() == "Darwin" and platform.machine() == "x86_64" and "arm64" in os.getenv("CIBW_ARCHS_MACOS", "") ) cross_compiling = cross_compiling_for_macos_arm64