preprocess_frozen_modules: exclude subdirs of examples, docs, tests
.. this reclaims several kB on CPX, where we really need it.
This commit is contained in:
parent
dbab5380b2
commit
1719a14cf0
@ -34,6 +34,7 @@ def copy_and_process(in_dir, out_dir):
|
|||||||
|
|
||||||
# Skip library examples directories.
|
# Skip library examples directories.
|
||||||
if Path(root).name in ['examples', 'docs', 'tests']:
|
if Path(root).name in ['examples', 'docs', 'tests']:
|
||||||
|
del subdirs[:]
|
||||||
continue
|
continue
|
||||||
|
|
||||||
for file in files:
|
for file in files:
|
||||||
|
Loading…
Reference in New Issue
Block a user