Put gdk-pixbuf loaders in PATH under win32 freeze
The loaders may depend on external dll that are now stored in the same directory by cx_Freeze 5.0. issue8902 review282991002
This commit is contained in:
1 parent
2ad8093aba
commit
2b851db71f
1 file changed
+3
@@ -32,7 +32,10 @@ if hasattr(sys, 'frozen'):
|
||||
|
||||
if sys.platform == 'win32':
|
||||
# cx_freeze >= 5 put python modules under lib directory
|
||||
# and dependencies of gdk-pixbuf loaders
|
||||
sys.path.append(os.path.join(prefix, 'lib'))
|
||||
sys.path.append(os.path.join(
|
||||
prefix, 'lib', 'gdk-pixbuf-2.0', '2.10.0', 'loaders'))
|
||||
|
||||
# On first launch the MacOSX app launcher may append an extra unique
|
||||
# argument starting with -psn_. This must be filtered to not crash the
|
||||
|
||||
Reference in new issue
Block a user