We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
sdist
1 parent 57822a4 commit e1966deCopy full SHA for e1966de
setup.py
@@ -183,14 +183,16 @@ def get_compiler() -> str:
183
184
def is_64bit_x86() -> bool:
185
if using_cibuildwheel:
186
- return "SZ_IS_64BIT_X86_" in os.environ
+ if "SZ_IS_64BIT_X86_" in os.environ:
187
+ return True
188
arch = platform.machine()
189
return arch in ["x86_64", "x64", "AMD64"]
190
191
192
def is_64bit_arm() -> bool:
193
- return "SZ_IS_64BIT_ARM_" in os.environ
194
+ if "SZ_IS_64BIT_ARM_" in os.environ:
195
196
197
return arch in ["arm64", "aarch64", "ARM64"]
198
0 commit comments