[pyinstaller] exclude 'pkg_resources' module (#7592)
This commit is contained in:
@@ -43,6 +43,10 @@ def main():
|
|||||||
"--onefile",
|
"--onefile",
|
||||||
"--console",
|
"--console",
|
||||||
"--name", name,
|
"--name", name,
|
||||||
|
|
||||||
|
# https://github.com/pyinstaller/pyinstaller/issues/9149
|
||||||
|
"--exclude-module", "pkg_resources",
|
||||||
|
|
||||||
"--additional-hooks-dir", util.path("scripts"),
|
"--additional-hooks-dir", util.path("scripts"),
|
||||||
"--distpath", util.path("dist"),
|
"--distpath", util.path("dist"),
|
||||||
"--workpath", util.path("build"),
|
"--workpath", util.path("build"),
|
||||||
|
|||||||
Reference in New Issue
Block a user