Skip to content

Commit

Permalink
fix platform.machine() values
Browse files Browse the repository at this point in the history
  • Loading branch information
flarco committed Apr 10, 2024
1 parent 09b220c commit a8ffbe6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions sling/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
else:
install_requires = [f'sling-linux-amd64=={SLING_VERSION}']
elif platform.system() == 'Windows':
if platform.machine() == 'aarch64':
if platform.machine() == 'ARM64':
install_requires = [f'sling-windows-arm64=={SLING_VERSION}']
else:
install_requires = [f'sling-windows-amd64=={SLING_VERSION}']
elif platform.system() == 'Darwin':
if platform.machine() == 'aarch64':
if platform.machine() == 'arm64':
install_requires = [f'sling-mac-arm64=={SLING_VERSION}']
else:
install_requires = [f'sling-mac-amd64=={SLING_VERSION}']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
BIN_FOLDER = os.path.join(os.path.dirname(__file__), 'bin')

if platform.system() == 'Windows':
if platform.machine() == 'aarch64':
if platform.machine() == 'ARM64':
SLING_BIN = os.path.join(BIN_FOLDER,'sling-win-arm64.exe')
else:
SLING_BIN = os.path.join(BIN_FOLDER,'sling-win-amd64.exe')
Expand Down

0 comments on commit a8ffbe6

Please sign in to comment.