changeset 3046765775e8 in tryton:default
details: https://hg.tryton.org/tryton?cmd=changeset;node=3046765775e8
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
diffstat:

 bin/tryton |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (14 lines):

diff -r 4a84ea23324f -r 3046765775e8 bin/tryton
--- a/bin/tryton        Sun Mar 01 16:33: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

Reply via email to