changeset 56ed6ba9da5b in tryton:5.2
details: https://hg.tryton.org/tryton?cmd=changeset;node=56ed6ba9da5b
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 d273d2800d24 -r 56ed6ba9da5b bin/tryton
--- a/bin/tryton Sat Feb 29 01:04:40 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