From 26c9e82743e5f65cab4e09898995cac70c3de267 Mon Sep 17 00:00:00 2001 From: Arvind Sundararajan Date: Wed, 13 Mar 2024 21:57:20 -0700 Subject: [PATCH] Support ARM builds (#757) --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 9575035..6978dd6 100644 --- a/setup.py +++ b/setup.py @@ -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"