From ca5aec17a60654966b92307a7ca55f69a460b738 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Wed, 31 Jul 2024 15:12:54 +0200 Subject: [PATCH] Try to import cibuildwheel settings from previous setup --- pyproject.toml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index cbd04f999c..07ffe16779 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,12 +22,13 @@ archs = ["native"] build-frontend = "default" config-settings = {} dependency-versions = "pinned" -environment = {} +environment = { PIP_CONSTRAINT = "build-constraints.txt" } + environment-pass = [] build-verbosity = 0 -before-all = "" -before-build = "" +before-all = "curl https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal --default-toolchain stable" +before-build = "pip install -r requirements.txt && python setup.py clean" repair-wheel-command = "" test-command = ""