nix build script: install some dependencies required for import base package

This commit is contained in:
Thomas Krijnen
2025-09-11 18:34:54 +02:00
parent 8d714ed3bc
commit 4ee6863d43
+2
View File
@@ -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))"])
)