forked from PandaKewt/DoAnhTachTach
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
26 lines (20 loc) · 653 Bytes
/
setup.py
File metadata and controls
26 lines (20 loc) · 653 Bytes
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
import sys
from cx_Freeze import setup, Executable
# Dependencies are automatically detected, but it might need fine tuning.
# build_exe_options = {
# "excludes": ["tkinter", "unittest"],
# "zip_include_packages": ["encodings", "PySide6"],
# }
# base="Win32GUI" should be used only for Windows GUI app
base = None
if sys.platform == "win32":
base = "Win32GUI"
# print(sys.platform)
# base = sys.platform = "Win32GUI"
setup(
name="TachTachLogoInsertion",
version="0.1",
description="Add Tach Tach and FPT logo to images",
# options={"build_exe": build_exe_options},
executables=[Executable("main.py", base=base)],
)