[pyinstaller] exclude 'pkg_resources' module (#7592)

This commit is contained in:
Mike Fährmann
2025-05-28 09:30:11 +02:00
parent 6e87ad2ccc
commit 129fc00962

View File

@@ -43,6 +43,10 @@ def main():
"--onefile",
"--console",
"--name", name,
# https://github.com/pyinstaller/pyinstaller/issues/9149
"--exclude-module", "pkg_resources",
"--additional-hooks-dir", util.path("scripts"),
"--distpath", util.path("dist"),
"--workpath", util.path("build"),