Revert "Only filter files in directories starting with ."

This reverts commit f806a61819592f6c80adb0ef83aa162253154a81.
This commit is contained in:
jellespijker 2023-09-22 00:43:14 +02:00
parent 0fe10b4ac2
commit d5f4bffb8b

View File

@ -207,7 +207,7 @@ class UMBUNDLE(BUNDLE):
pass
else:
if typ == 'DATA':
if any([p.startswith(".") for p in inm.parent.parts if inm.parent.is_dir()]) or inm.suffix == '.so':
if any(['.' in p for p in inm.parent.parts]) or inm.suffix == '.so':
# Skip info dist egg and some not needed folders in tcl and tk, since they all contain dots in their files
logger.warning(f"Skipping DATA file {inm}")
continue