Skip to content

Commit 4bccffc

Browse files
committed
cleanup based on comments
1 parent 79021e3 commit 4bccffc

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

setup.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,19 @@ def get_platform(self):
4242
osname = platform.system()
4343
mach = platform.machine()
4444
arch, _ = platform.architecture()
45+
4546
if osname == 'Linux':
4647
if mach.startswith('arm'):
4748
if arch == '32bit':
4849
mach = 'arm'
4950
elif arch == '64bit':
5051
mach = 'arm64'
5152
return osname, mach, 'libziti.so'
52-
elif osname == 'Darwin':
53+
54+
if osname == 'Darwin':
5355
return osname, mach, 'libziti.dylib'
54-
elif osname == 'Windows':
56+
57+
if osname == 'Windows':
5558
return osname, mach, 'ziti.dll'
5659

5760
def get_sdk_version(self):

0 commit comments

Comments
 (0)