From 91024d5733f9809f6f11e314f4df536023491e03 Mon Sep 17 00:00:00 2001 From: Khairul Azhar Kasmiran Date: Thu, 18 Apr 2024 19:25:03 +0800 Subject: [PATCH] Use `tool.cibuildwheel.linux` --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f7ce8f5..cf74113 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,11 +11,13 @@ setup = ['-Dwheel=true'] [tool.cibuildwheel] build-verbosity = 3 before-all = "bash {project}/cibw_before_all.sh" -before-build-linux = "source scl_source enable llvm-toolset-7.0 || true" manylinux-x86_64-image = "manylinux2014" manylinux-i686-image = "manylinux2014" skip = "pp*" +[tool.cibuildwheel.linux] +before-build = "source scl_source enable llvm-toolset-7.0 || true" + [tool.cibuildwheel.windows] environment = { CMAKE_PREFIX_PATH="C:\\rizin" } archs = ["AMD64"]