forked from p15670423/monkey
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:
parent
1477190d10
commit
18232424fa
|
@ -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():
|
||||
|
|
Loading…
Reference in New Issue