Unverified Commit 26c9e827 authored by Arvind Sundararajan's avatar Arvind Sundararajan Committed by GitHub
Browse files

Support ARM builds (#757)

parent 50896ec5
......@@ -51,7 +51,7 @@ def get_platform():
Returns the platform name as used in wheel filenames.
"""
if sys.platform.startswith("linux"):
return "linux_x86_64"
return f'linux_{platform.uname().machine}'
elif sys.platform == "darwin":
mac_version = ".".join(platform.mac_ver()[0].split(".")[:2])
return f"macosx_{mac_version}_x86_64"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment