mirror of
https://github.com/Ultimaker/Cura.git
synced 2026-03-03 00:54:34 -07:00
Better rid of 'forbidden modules' and related folders.
part of CURA-11622
This commit is contained in:
parent
5e59458893
commit
55f59b7971
2 changed files with 3 additions and 2 deletions
|
|
@ -163,7 +163,7 @@ pyinstaller:
|
|||
- [ "qt", "lab", "animat" ]
|
||||
- [ "qt", "mqtt" ]
|
||||
- [ "qt", "net", "auth" ]
|
||||
- [ "qt", "quick3d" ]
|
||||
- [ "quick3d" ]
|
||||
- [ "qt", "timeline" ]
|
||||
- [ "qt", "virt", "key" ]
|
||||
- [ "qt", "wayland", "compos" ]
|
||||
|
|
|
|||
|
|
@ -179,6 +179,7 @@ class CuraConan(ConanFile):
|
|||
"qtmqtt",
|
||||
"qtnetworkauth",
|
||||
"qtquick3d",
|
||||
"quick3d",
|
||||
"qtquick3dphysics",
|
||||
"qtquicktimeline",
|
||||
"qtvirtualkeyboard",
|
||||
|
|
@ -207,7 +208,7 @@ class CuraConan(ConanFile):
|
|||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue