mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-25 17:57:02 +00:00
cache_dependencies - skip ifcopenshell dir when packing
This commit is contained in:
@@ -41,6 +41,9 @@ def pack_dependencies(install_dir: Path) -> None:
|
|||||||
if not dependency_path.is_dir():
|
if not dependency_path.is_dir():
|
||||||
continue
|
continue
|
||||||
dependency_name = dependency_path.name
|
dependency_name = dependency_path.name
|
||||||
|
# Skip ifcopenshell - it's a build output, not a dependency to reuse across builds.
|
||||||
|
if dependency_name == "ifcopenshell":
|
||||||
|
continue
|
||||||
tar_path = install_dir / f"{CACHE_PREFIX}{dependency_name}.tar.gz"
|
tar_path = install_dir / f"{CACHE_PREFIX}{dependency_name}.tar.gz"
|
||||||
if tar_path.exists():
|
if tar_path.exists():
|
||||||
print(f"Skipping existing cache: '{tar_path}'")
|
print(f"Skipping existing cache: '{tar_path}'")
|
||||||
|
|||||||
Reference in New Issue
Block a user