Skip to content

Commit 32c230c

Browse files
committed
fix(setup): add macOS support into setup.py
1 parent 6b8b726 commit 32c230c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ def run(self):
2727
system = platform.system()
2828
if system == 'Linux':
2929
usr_platform = 'x86_64-linux-gnu'
30+
if system == 'Darwin':
31+
usr_platform = 'x86_64-apple-darwin'
3032
else:
31-
raise Exception('This lib is only supporting Linux for now.')
33+
raise Exception('This lib is only supporting Linux & macOS for now.')
3234
download_url = url_template.format(tag=version_tag,
3335
py_ver=py_version,
3436
platform=usr_platform)

0 commit comments

Comments
 (0)