Bump version to 0.1.0

This commit is contained in:
Anton Argirov committed 2015-10-28 01:06:25 +06:00
1 parent 9f531d1a2c
commit 652c756201
3 files changed
+8 -3

No files matched your search

+3 -2
View File
@@ -15,7 +15,8 @@ class Platform:
@staticmethod
def arch():
if uname()[4].startswith('arm'):
if sys.platform.lower().startswith('linux') and (uname()[4].lower().startswith('arm') or
uname()[4].lower().startswith('aarch')):
return 'arm'
elif sys.maxsize > 2**32:
return 'x64'
@@ -35,4 +36,4 @@ class Platform:
return 'darwin'
else:
raise Error("Platform %s is unknown" % sys.platform, Error.UNKNOWN_PLATFORM,
platform=sys.platform)
platform=sys.platform)