Skip to content

Commit

Permalink
Merge pull request #16 from oceanprotocol/issue15-fix-windows-arch-check
Browse files Browse the repository at this point in the history
Issue15 fix windows arch check
  • Loading branch information
trizin authored Oct 24, 2023
2 parents 88aab55 + 8e18ffc commit 6d215c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sapphirepy/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
raise Exception(f"Unsupported architecture: {architecture}")

if platform.system() == "Windows":
if architecture == "x86_64":
if architecture == "x86_64" or architecture.lower() == "amd64":
lib_path = os.path.join(bin_dir, "sapphirewrapper-amd64.dll")
lib = ctypes.CDLL(lib_path)
else:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
]
),
url="https://github.com/oceanprotocol/sapphirepy",
version="0.2.0",
version="0.2.1",
zip_safe=False,
data_files=[
(
Expand Down

0 comments on commit 6d215c6

Please sign in to comment.