From f5db4a58990ba20cf0759600a57fa60b814b4d82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 23 Apr 2024 13:19:54 +0200 Subject: [PATCH] Use find_packages to fill packages for build_exe Otherwise cx_Freeze does not include the translation plugin as it is dynamically loaded. Closes #13208 --- tryton/setup-freeze.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tryton/setup-freeze.py b/tryton/setup-freeze.py index c3dcbcf266..322a2fe773 100755 --- a/tryton/setup-freeze.py +++ b/tryton/setup-freeze.py @@ -124,14 +124,13 @@ version = version.strip() setup(name='tryton', version=version, - packages=find_packages(), options={ 'build_exe': { 'no_compress': True, 'include_files': include_files, 'excludes': ['tkinter'], 'silent': True, - 'packages': ['gi'], + 'packages': find_packages() + ['gi'], 'include_msvcr': True, }, 'bdist_mac': {