add linux arm support: RaspberryPi(armv7l) and aarch64
This commit is contained in:
parent
abc0b82961
commit
4c34cbed3c
4 changed files with 22 additions and 3 deletions
7
install
7
install
|
|
@ -20,7 +20,12 @@ def get_platform():
|
|||
name = 'darwin64'
|
||||
elif name.startswith('linux'):
|
||||
import platform
|
||||
if platform.architecture()[0] == '64bit':
|
||||
machine = platform.machine()
|
||||
if machine == 'armv7l':
|
||||
name = 'linux_armv7l'
|
||||
elif machine == 'aarch64':
|
||||
name = 'linux_aarch64'
|
||||
elif machine == 'x86_64':
|
||||
name = 'linux64'
|
||||
else:
|
||||
name = 'linux32'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue