|
112 | 112 | print("Loaded modules from openshot_qt directory: %s" % os.path.join(PATH, "openshot_qt"))
|
113 | 113 |
|
114 | 114 | # Append possible build server paths
|
115 |
| - |
116 | 115 | sys.path.insert(0, os.path.join(PATH, "build", "install-x86", "lib"))
|
117 | 116 | sys.path.insert(0, os.path.join(PATH, "build", "install-x86", "bin"))
|
118 |
| - |
119 | 117 | sys.path.insert(0, os.path.join(PATH, "build", "install-x64", "lib"))
|
120 | 118 | sys.path.insert(0, os.path.join(PATH, "build", "install-x64", "bin"))
|
121 | 119 |
|
122 |
| - |
123 | 120 | from classes import info
|
124 | 121 | from classes.logger import log
|
125 |
| - |
126 | 122 | log.info("Execution path: %s" % os.path.abspath(__file__))
|
127 | 123 |
|
128 |
| - |
129 | 124 | # Find files matching patterns
|
130 | 125 | def find_files(directory, patterns):
|
131 | 126 | """ Recursively find all files in a folder tree """
|
@@ -397,8 +392,7 @@ def find_files(directory, patterns):
|
397 | 392 | src_files.append((filename, os.path.join("lib", os.path.relpath(filename, start=os.path.join(PATH, "openshot_qt")))))
|
398 | 393 |
|
399 | 394 | # Exclude gif library which crashes on Mac
|
400 |
| - build_exe_options["bin_excludes"] = ["/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib", |
401 |
| - "/usr/local/opt/giflib/lib/libgif.dylib"] |
| 395 | + build_exe_options["bin_excludes"] = ["/usr/local/opt/giflib/lib/libgif.dylib"] |
402 | 396 |
|
403 | 397 | # Dependencies are automatically detected, but it might need fine tuning.
|
404 | 398 | build_exe_options["packages"] = python_packages
|
|
0 commit comments