Support ARM builds (#757)
This commit is contained in:
parent
50896ec574
commit
26c9e82743
2
setup.py
2
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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user