mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-02-25 05:54:51 -05:00
Merge pull request #1172 from thgil/master
Check for 64-bit arch in setup.py
This commit is contained in:
commit
fad270f2af
1 changed files with 2 additions and 0 deletions
|
@ -33,6 +33,8 @@ class SystemConfiguration(object):
|
||||||
return 64
|
return 64
|
||||||
else:
|
else:
|
||||||
if self.operating_system == u"mac":
|
if self.operating_system == u"mac":
|
||||||
|
if os.uname()[4] == u"x86_64":
|
||||||
|
return 64
|
||||||
raise NotSupportedError(u"Your processor is determined to have a maxSize of" + str(sys.maxsize) +
|
raise NotSupportedError(u"Your processor is determined to have a maxSize of" + str(sys.maxsize) +
|
||||||
u",\n which doesn't correspond with a 64-bit architecture.")
|
u",\n which doesn't correspond with a 64-bit architecture.")
|
||||||
return 32
|
return 32
|
||||||
|
|
Loading…
Reference in a new issue