From dfbd63e4902b97a739f997daf03acdde50560f42 Mon Sep 17 00:00:00 2001 From: Kyle Gottfried <6462596+Spitfire1900@users.noreply.github.com> Date: Sat, 4 Jan 2025 16:07:41 -0500 Subject: [PATCH] Update pyproject.toml - attempt to force zlib bundling --- pyproject.toml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 20a14e65..fcac721a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,9 +21,17 @@ repair-wheel-command = "LD_LIBRARY_PATH=/project/ci/lib auditwheel repair -w {de [tool.cibuildwheel.macos] archs = ["universal2"] -environment = {LIBGIT2_VERSION="1.9.0", LIBSSH2_VERSION="1.11.1", OPENSSL_VERSION="3.2.3", LIBGIT2="/Users/runner/work/pygit2/pygit2/ci"} repair-wheel-command = "DYLD_LIBRARY_PATH=/Users/runner/work/pygit2/pygit2/ci/lib delocate-wheel --require-archs {delocate_archs} -w {dest_dir} {wheel}" +[tool.cibuildwheel.macos.environment] +LIBGIT2_VERSION = "1.9.0" +LIBSSH2_VERSION = "1.11.1" +OPENSSL_VERSION = "3.2.3" +LIBGIT2 = "/Users/runner/work/pygit2/pygit2/ci" +CFLAGS = "-I/usr/local/include" +LDFLAGS = "-L/usr/local/lib" +LDFLAGS_UNIVERSAL2 = "-lz" + [tool.ruff] target-version = "py310" # oldest supported Python version fix = true