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:
Dan Halbert 2019-12-17 12:32:26 -05:00 committed by GitHub
commit 8d4384814a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: