[pyinstaller] exclude 'pkg_resources' module (#7592)
This commit is contained in:
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user