Fix installer smoke runtime packaging
This commit is contained in:
1 parent
079bf8537a
commit
daa4d1709d
4 files changed
+10
-1
No files matched your search
@@ -88,6 +88,10 @@ def collect_runtime_hidden_imports(source_root: str | Path) -> list[str]:
|
||||
if node.level or not node.module:
|
||||
continue
|
||||
imports.add(node.module)
|
||||
for alias in node.names:
|
||||
if alias.name == "*":
|
||||
continue
|
||||
imports.add(f"{node.module}.{alias.name}")
|
||||
|
||||
hidden_imports: list[str] = []
|
||||
for module in imports:
|
||||
|
||||
Reference in new issue
Block a user