Support docker qemu emulation in any linux env

- currently just prints out envs
This commit is contained in:
Pavel Savchenko
2020-12-12 21:18:19 +00:00
parent 00a217d4a6
commit 76fe472638
2 changed files with 9 additions and 0 deletions
+2
View File
@@ -13,6 +13,8 @@ from .util import (BuildOptions, BuildSelector, NonPlatformWheelError,
def matches_platform(identifier: str) -> bool:
output = subprocess.check_output(['docker', '--version'])
print("We found support for these platforms:", output)
pm = platform.machine()
if pm == "x86_64":
# x86_64 machines can run i686 docker containers