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
This commit is contained in:
Cédric Krier
2024-04-23 13:19:54 +02:00
parent 4acd946200
commit f5db4a5899
+1 -2
View File
@@ -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': {