From ad63150e6d8d57df01b3e0c41b0b56568beb27b4 Mon Sep 17 00:00:00 2001 From: Michael Himing Date: Wed, 29 Dec 2021 11:45:58 +1100 Subject: [PATCH] Don't freeze utils directories --- tools/preprocess_frozen_modules.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/preprocess_frozen_modules.py b/tools/preprocess_frozen_modules.py index 294df317bc..30263d2e02 100755 --- a/tools/preprocess_frozen_modules.py +++ b/tools/preprocess_frozen_modules.py @@ -49,7 +49,12 @@ def copy_and_process(in_dir, out_dir): # Skip library examples directory and subfolders. relative_path_parts = Path(root).relative_to(in_dir).parts - if relative_path_parts and relative_path_parts[0] in ["examples", "docs", "tests"]: + if relative_path_parts and relative_path_parts[0] in [ + "examples", + "docs", + "tests", + "utils", + ]: del subdirs[:] continue