From c44b65fef1b9020ca9d3bb744e30c7c521c3f0b1 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Tue, 27 Aug 2024 14:03:52 -0400 Subject: [PATCH] build: fix windows presubmit (#237) * build: fix windows presubmit * Apply fix from https://github.com/googleapis/python-crc32c/pull/214 --- scripts/windows/build.bat | 2 +- setup.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/windows/build.bat b/scripts/windows/build.bat index 4d8e5f5e..591834a6 100644 --- a/scripts/windows/build.bat +++ b/scripts/windows/build.bat @@ -74,7 +74,7 @@ FOR %%P IN (3.9, 3.10, 3.11, 3.12) DO ( py -%%P-64 -m pip wheel . --wheel-dir wheels/ echo "Built wheel, now running tests." - call %~dp0/test.bat %%P + call %~dp0/test.bat %%P || goto :error echo "Finished with Python version %%P, now uninstalling" choco uninstall python -y diff --git a/setup.py b/setup.py index 4bb2aeca..5c304b20 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,6 @@ def copy_dll(build_lib): - return # trying static build of C library. install_prefix = os.environ.get("CRC32C_INSTALL_PREFIX") if os.name == "nt" and install_prefix is not None: