Skip to content

Commit

Permalink
Better rid of 'forbidden modules' and related folders.
Browse files Browse the repository at this point in the history
part of CURA-11622
  • Loading branch information
rburema committed Dec 10, 2024
1 parent 5e59458 commit 55f59b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion conandata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ pyinstaller:
- [ "qt", "lab", "animat" ]
- [ "qt", "mqtt" ]
- [ "qt", "net", "auth" ]
- [ "qt", "quick3d" ]
- [ "quick3d" ]
- [ "qt", "timeline" ]
- [ "qt", "virt", "key" ]
- [ "qt", "wayland", "compos" ]
Expand Down
3 changes: 2 additions & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ def _delete_unwanted_binaries(self, root):
"qtmqtt",
"qtnetworkauth",
"qtquick3d",
"quick3d",
"qtquick3dphysics",
"qtquicktimeline",
"qtvirtualkeyboard",
Expand Down Expand Up @@ -207,7 +208,7 @@ def _delete_unwanted_binaries(self, root):
to_remove_files.append(pathname)
for dirname in dir_:
for forbidden in prohibited:
if forbidden.lower() == str(dirname).lower():
if forbidden.lower() in str(dirname).lower():
pathname = os.path.join(root, dirname)
to_remove_dirs.append(pathname)
break
Expand Down

0 comments on commit 55f59b7

Please sign in to comment.