Skip to content

Commit 56a7a0b

Browse files
committed
setup.py: use new musl binaries
1 parent 8f4b97b commit 56a7a0b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

setup.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,13 @@ def platform_suffix(self):
5454
Trying to detect the platform to know which `mavsdk_server` executable to download
5555
"""
5656
if sys.platform.startswith('linux') and platform.machine() == "x86_64":
57-
return 'manylinux2010-x64'
57+
return 'musl_x86_64'
58+
elif sys.platform.startswith('linux') and platform.machine() == "armv6":
59+
return 'musl_armv6'
60+
elif sys.platform.startswith('linux') and platform.machine() == "armv7":
61+
return 'musl_armv7'
62+
elif sys.platform.startswith('linux') and platform.machine() == "aarch64":
63+
return 'musl_aarch64'
5864
elif sys.platform.startswith('darwin'):
5965
return 'macos'
6066
elif sys.platform.startswith('win'):

0 commit comments

Comments
 (0)