Skip to content

Commit

Permalink
Another update to setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
EricEngle-NOAA committed Jul 31, 2024
1 parent adb4c1b commit 13a3108
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@ def find_library(name, dirs=None, static=False):
#
# IMPORTANT: The following does not work at this time (Jan. 2024) for macOS on
# Apple Silicon.
print(f'{out = }')
print(os.name, sys.platform)
print(sys.platform, platform.machine())
if (os.name, sys.platform) != ("posix", "linux"):
if (sys.platform, platform.machine()) == ("darwin", "arm64"):
pass
else:
out.append(ctypes_find_library(name))
out.append(ctypes_find_library(name))
#if (sys.platform, platform.machine()) == ("darwin", "arm64"):
# pass
#else:
# out.append(ctypes_find_library(name))

stuff = out.append(ctypes_find_library(name))
print(f'{stuff = }')
print(f'{out = }')

# For Linux and macOS (Apple Silicon), we have to search ourselves.
Expand Down

0 comments on commit 13a3108

Please sign in to comment.