aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
blob: 0cf76969eed7c84f8ee74367eee7ee4d9921b380 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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",
    "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.1.1",
    description = "EEHPH2 by AE computer vision",
    author = "Edward Attenborough",
    executables = [exec_]
)