mkdir just in case

This commit is contained in:
Thomas Krijnen
2025-08-29 10:10:28 +02:00
parent 6bbff22a45
commit 54b448cdb4
+3
View File
@@ -1247,6 +1247,9 @@ if "IfcOpenShell-Python" in targets:
module_dir = compile_python_wrapper(python_version, python_library, python_include, python_executable)
assert module_dir
# Not sure why, but added after reading this in the logs
# cp: /Users/runner/work/IfcOpenShell/IfcOpenShell/build/Darwin/x86_64/10.15/install/ifcopenshell/python-3.9.11: No such file or directory
run(["mkdir", "-p", os.path.join(DEPS_DIR, "install", "ifcopenshell")])
run([cp, "-R", module_dir, os.path.join(DEPS_DIR, "install", "ifcopenshell", f"python-{python_version}")])
logger.info("\rBuilt IfcOpenShell...\n\n")