From 28966225129bbadc4dcef80224f9a657a8a06064 Mon Sep 17 00:00:00 2001 From: Julien Date: Fri, 15 Mar 2024 11:10:11 +0100 Subject: [PATCH] packaging: switch to onefile --- builder/pyinstaller_build_ubuntu.py | 4 ++-- builder/pyinstaller_build_windows.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/builder/pyinstaller_build_ubuntu.py b/builder/pyinstaller_build_ubuntu.py index bd309725..a7e2cf88 100644 --- a/builder/pyinstaller_build_ubuntu.py +++ b/builder/pyinstaller_build_ubuntu.py @@ -46,8 +46,8 @@ ).replace(".", "-"), "--noconfirm", "--noupx", - "--onedir", - # "--onefile", + # "--onedir", + "--onefile", "--windowed", str(package_folder / "DicoGIS.py"), ] diff --git a/builder/pyinstaller_build_windows.py b/builder/pyinstaller_build_windows.py index d123735b..9dec3f47 100644 --- a/builder/pyinstaller_build_windows.py +++ b/builder/pyinstaller_build_windows.py @@ -49,8 +49,8 @@ ), "--noconfirm", "--noupx", - "--onedir", - # "--onefile", + # "--onedir", + "--onefile", "--version-file={}".format("version_info.txt"), "--windowed", str(package_folder / "DicoGIS.py"),