aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2025-12-22 16:15:25 +0000
committerjwansek <eddie.atten.ea29@gmail.com>2025-12-22 16:15:25 +0000
commit7e85e0e79856fccd9e56c5db5f1d5060f0ee5fc7 (patch)
treee4f77cbdb5f44067057ec6c23bb745d1b76b4f94 /setup.py
parent2c7a29f6de740c2e8f2db4c8734b4a617af8a6c8 (diff)
downloadeehph2-7e85e0e79856fccd9e56c5db5f1d5060f0ee5fc7.tar.gz
eehph2-7e85e0e79856fccd9e56c5db5f1d5060f0ee5fc7.zip
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
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py36
1 files changed, 0 insertions, 36 deletions
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_]
-)
-