-
Notifications
You must be signed in to change notification settings - Fork 17
/
setup.py
39 lines (35 loc) · 827 Bytes
/
setup.py
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
36
37
38
39
from src import globals as g
from cx_Freeze import setup, Executable
# Dependencies are automatically detected, but it might need fine tuning.
build_exe_options = {
"packages": [
"PyQt6",
"requests",
"os",
"sys",
"subprocess",
"json",
"platform",
"pathlib",
"threading",
],
"excludes": ["tkinter"],
"optimize": 2,
"include_files": [("res", "res")],
}
base = "Win32GUI"
executables = [
Executable(
"main.py",
base=base,
target_name=f"CheezosVideoCompressor_v{g.VERSION}",
icon="res/icon.ico",
)
]
setup(
name="CheezosVideoCompressor",
version=g.VERSION,
description="Compress videos to any file size.",
options={"build_exe": build_exe_options},
executables=executables,
)