changeset 78e1f0e96a31 in tryton:5.0
details: https://hg.tryton.org/tryton?cmd=changeset;node=78e1f0e96a31
description:
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
(grafted from 3046765775e844dc410cf9dfabff29bdba0456bd)
diffstat:
bin/tryton | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (14 lines):
diff -r 6664e8bc5325 -r 78e1f0e96a31 bin/tryton
--- a/bin/tryton Mon Mar 09 18:31:58 2020 +0100
+++ b/bin/tryton Thu Mar 05 00:22:19 2020 +0100
@@ -32,7 +32,10 @@
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