Skip to content

Commit e6bdd60

Browse files
committed
Log warning on missing library file
1 parent 6adf3c1 commit e6bdd60

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

freeze.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"openshot",
7777
"time",
7878
"uuid",
79-
"shutil",
79+
"shutil",
8080
"threading",
8181
"subprocess",
8282
"re",
@@ -86,7 +86,7 @@
8686
"urllib",
8787
"requests",
8888
"zmq",
89-
"webbrowser",
89+
"webbrowser",
9090
"json"
9191
]
9292

@@ -301,7 +301,9 @@ def find_files(directory, patterns):
301301
]:
302302
if os.path.exists(added_lib):
303303
external_so_files.append((added_lib, os.path.basename(added_lib)))
304-
304+
else:
305+
log.warning("{}: not found, skipping".format(added_lib))
306+
305307
elif sys.platform == "darwin":
306308
# Copy Mac specific files that cx_Freeze misses
307309
# JPEG library

0 commit comments

Comments
 (0)