@@ -306,34 +306,14 @@ def find_files(directory, patterns):
306
306
"libpangocairo-1.0.so.0" ,
307
307
"libpangoft2-1.0.so.0" ,
308
308
"libharfbuzz.so.0" ,
309
- "libthai.so.0" ,
310
- ]
311
- and not libpath_file .startswith ("libxcb-" )
312
- ) \
313
- or libpath_file in ["libgcrypt.so.11" , "libQt5DBus.so.5" , "libpng12.so.0" , "libbz2.so.1.0" , "libqxcb.so" ]:
314
-
309
+ "libthai.so.0" ]
310
+ ) or libpath_file in ["libgcrypt.so.11" , "libQt5DBus.so.5" , "libpng12.so.0" ,
311
+ "libbz2.so.1.0" , "libqxcb.so" , "libxcb-xinerama.so.0" ]:
315
312
# Ignore missing files
316
313
if os .path .exists (libpath ):
317
314
filepath , filename = os .path .split (libpath )
318
315
external_so_files .append ((libpath , filename ))
319
316
320
- # Manually add missing files (that were missed in the above step). These files are required
321
- # for certain distros (like Fedora, openSUSE, Debian, etc...)
322
- # Also add Glib related files (required for some distros)
323
-
324
- # for added_lib in [ARCHLIB + "libssl.so",
325
- # ARCHLIB + "libcrypto.so",
326
- # ARCHLIB + "libglib-2.0.so",
327
- # ARCHLIB + "libgio-2.0.so",
328
- # ARCHLIB + "libgmodule-2.0.so",
329
- # ARCHLIB + "libthread-2.0.so",
330
- # ARCHLIB + "libc.so",
331
- # ]:
332
- # if os.path.exists(added_lib):
333
- # external_so_files.append((added_lib, os.path.basename(added_lib)))
334
- # else:
335
- # log.warning("{}: not found, skipping".format(added_lib))
336
-
337
317
elif sys .platform == "darwin" :
338
318
# Copy Mac specific files that cx_Freeze misses
339
319
# JPEG library
0 commit comments