From 80c7b3d2a7f7e0876d38394ccdbc6570ea541604 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Mon, 24 Jun 2024 13:26:28 +0200 Subject: [PATCH] Configure cibuildwheel --- pyproject.toml | 53 +++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 48 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index be643e65..96bb53cc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,10 +6,53 @@ requires = [ ] build-backend = "setuptools.build_meta" -# NOTE: overrides here are only used if CIBW_ENVIRONMENT is not set [tool.cibuildwheel] -environment = { PIP_CONSTRAINT="build-constraints.txt" } +build = "*" +skip = "cp36* cp37* cp38*" +test-skip = "" +free-threaded-support = false -[[tool.cibuildwheel.overrides]] -select = "*-macosx_arm64" -environment = { PIP_CONSTRAINT="build-constraints.txt", BLIS_COMPILER="clang -arch arm64" } +archs = ["auto"] +build-frontend = "default" +config-settings = {} +dependency-versions = "pinned" +environment = {} +environment-pass = [] +build-verbosity = 0 + +before-all = "" +before-build = "" +repair-wheel-command = "" + +test-command = "" +before-test = "" +test-requires = [] +test-extras = [] + +container-engine = "docker" + +manylinux-x86_64-image = "manylinux2014" +manylinux-i686-image = "manylinux2014" +manylinux-aarch64-image = "manylinux2014" +manylinux-ppc64le-image = "manylinux2014" +manylinux-s390x-image = "manylinux2014" +manylinux-pypy_x86_64-image = "manylinux2014" +manylinux-pypy_i686-image = "manylinux2014" +manylinux-pypy_aarch64-image = "manylinux2014" + +musllinux-x86_64-image = "musllinux_1_2" +musllinux-i686-image = "musllinux_1_2" +musllinux-aarch64-image = "musllinux_1_2" +musllinux-ppc64le-image = "musllinux_1_2" +musllinux-s390x-image = "musllinux_1_2" + + +[tool.cibuildwheel.linux] +repair-wheel-command = "auditwheel repair -w {dest_dir} {wheel}" + +[tool.cibuildwheel.macos] +repair-wheel-command = "delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}" + +[tool.cibuildwheel.windows] + +[tool.cibuildwheel.pyodide]