Bugfix, spec should not check kernel version using platform.architecture but rather the python interpreter version.

This handles cases where we run 32b python on 64b machines
This commit is contained in:
Daniel Goldberg 2020-01-20 20:54:41 +02:00
parent 1477190d10
commit 18232424fa
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
# -*- mode: python -*-
import os
import sys
import platform
@ -48,7 +49,7 @@ def is_windows():
def is_32_bit():
return platform.architecture()[0] == "32bit"
return sys.maxsize <= 2**32
def get_bin_folder():