File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1+ Support 32-bit Linux running on 64-bit ARM arch. A 32-bit Linux running on 64-bit ARM arch should have platform "linux_armv7l".
Original file line number Diff line number Diff line change @@ -156,10 +156,13 @@ def get_platform():
156156
157157 # XXX remove distutils dependency
158158 result = distutils .util .get_platform ().replace ('.' , '_' ).replace ('-' , '_' )
159- if result == "linux_x86_64" and _is_running_32bit ():
159+ if _is_running_32bit ():
160160 # 32 bit Python program (running on a 64 bit Linux): pip should only
161161 # install and run 32 bit compiled extensions in that case.
162- result = "linux_i686"
162+ if result == "linux_x86_64" :
163+ result = "linux_i686"
164+ elif result == "linux_aarch64" :
165+ result = "linux_armv7l"
163166
164167 return result
165168
You can’t perform that action at this time.
0 commit comments