Revert "MacOS App doesn't like dots"

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

View File

@ -207,7 +207,7 @@ class UMBUNDLE(BUNDLE):
pass
else:
if typ == 'DATA':
if any(["." in p for p in inm.parent.parts if inm.parent.is_dir()]) or inm.suffix == '.so':
if any([p.startswith(".") for p in inm.parent.parts if inm.parent.is_dir()]) 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