From fae2e2e9d0782bd45a05cecb3fa7b79b34e1b955 Mon Sep 17 00:00:00 2001 From: epwalsh Date: Thu, 15 Aug 2024 13:43:39 -0700 Subject: [PATCH] Fix local installation on MacOS --- pyproject.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 0a3aab5d..c9ae9453 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -151,7 +151,12 @@ all = [ ] [build-system] -requires = ["maturin[patchelf]>=1.1,<2.0", "setuptools >= 61.0.0", "wheel"] +requires = [ + "setuptools >= 61.0.0", + "wheel", + "maturin[patchelf]>=1.1,<2.0 ; platform_system=='Linux'", + "maturin>=1.1,<2.0 ; platform_system!='Linux'", +] build-backend = "maturin"