From 7e85e0e79856fccd9e56c5db5f1d5060f0ee5fc7 Mon Sep 17 00:00:00 2001 From: jwansek Date: Mon, 22 Dec 2025 16:15:25 +0000 Subject: Various QoL changes and improvements over the old version - Switched to using pyinstaller for compiling over cx_Freeze - Simplified the installation and application opening process so it doesn't have to find itself - Made some updates to [tkFileBrowser](https://github.com/jwansek/tkFileBrowser/) (which originated from this project) and merged the changes back in - Reloaded the image on window scaling, photosensitive epilepsy beware, these numbers might need tweaking --- setup.py | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 setup.py (limited to 'setup.py') diff --git a/setup.py b/setup.py deleted file mode 100644 index c29675b..0000000 --- a/setup.py +++ /dev/null @@ -1,36 +0,0 @@ -from cx_Freeze import setup, Executable -import os - -os.environ["TCL_LIBRARY"] = r"C:\Program Files (x86)\Python36_64\tcl\tcl8.6" -os.environ["TK_LIBRARY"] = r"C:\Program Files (x86)\Python36_64\tcl\tk8.6" - -packages = [ - "tkinter", - ] - -include_files = [ - "Assets\\", - "LICENSE.txt", - "on_install_setup.exe", - "cleanup.exe", - "manual_setup.exe", - "EEHPH2_app.py", - r"C:\Program Files (x86)\Python36_64\DLLs\tcl86t.dll", - r"C:\Program Files (x86)\Python36_64\DLLs\tk86t.dll", - ] - -exec_ = Executable( - script = "EEHPH2.py", - base = "Win32GUI", - icon = os.path.join("Assets", "icon.ico") - ) - -setup( - name = "EEHPH Photo Viewer v2", - options = {"build_exe": {"packages": packages, "include_files": include_files}}, - version = "2.2.6", - description = "EEHPH2 by AE computer vision", - author = "Edward Attenborough", - executables = [exec_] -) - -- cgit v1.2.3