Merge pull request #2398 from jepler/excluded-mpy-subdirs-4.x
preprocess_frozen_modules: exclude subdirs of examples, docs, tests
This commit is contained in:
commit
8d4384814a
@ -34,6 +34,7 @@ def copy_and_process(in_dir, out_dir):
|
||||
|
||||
# Skip library examples directories.
|
||||
if Path(root).name in ['examples', 'docs', 'tests']:
|
||||
del subdirs[:]
|
||||
continue
|
||||
|
||||
for file in files:
|
||||
|
Loading…
Reference in New Issue
Block a user