From 2699c8801f19f37e9f546a387bbfc4b40d08ada1 Mon Sep 17 00:00:00 2001 From: trizin <25263018+trizin@users.noreply.github.com> Date: Tue, 24 Oct 2023 12:13:31 +0000 Subject: [PATCH 1/2] add or amd64 part --- sapphirepy/wrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapphirepy/wrapper.py b/sapphirepy/wrapper.py index cf26513..26f9557 100644 --- a/sapphirepy/wrapper.py +++ b/sapphirepy/wrapper.py @@ -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: From 8e18ffcfd2cad0af1746415109350650b132c271 Mon Sep 17 00:00:00 2001 From: trizin <25263018+trizin@users.noreply.github.com> Date: Tue, 24 Oct 2023 12:14:01 +0000 Subject: [PATCH 2/2] Bump version to 0.2.1 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index f6d6ce3..6406ffb 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ ] ), url="https://github.com/oceanprotocol/sapphirepy", - version="0.2.0", + version="0.2.1", zip_safe=False, data_files=[ (