From 4ee6863d43bb0f11860d9b1fac42a3732675de5d Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Thu, 11 Sep 2025 18:34:54 +0200 Subject: [PATCH] nix build script: install some dependencies required for import base package --- nix/build-all.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nix/build-all.py b/nix/build-all.py index 0379187e35..f1450c0abb 100644 --- a/nix/build-all.py +++ b/nix/build-all.py @@ -1229,6 +1229,8 @@ if "IfcOpenShell-Python" in targets: run([make, "install/local"], cwd=os.path.join(python_dir, "ifcwrap")) if python_executable: + run([python_executable, "-m", "ensurepip"]) + run([python_executable, "-m", "pip", "install", "--user", "numpy", "typing_extensions"]) module_dir = os.path.dirname( run([python_executable, "-c", "import inspect, ifcopenshell; print(inspect.getfile(ifcopenshell))"]) )