-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
22 lines (19 loc) · 804 Bytes
/
setup.py
File metadata and controls
22 lines (19 loc) · 804 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
from cx_Freeze import setup, Executable
# Liste der Dateien und Verzeichnisse, die in die ausführbare Datei aufgenommen werden sollen
include_files = [
"assets/"
]
setup(
name="Auto Nic Configurator",
version="1.0",
description="Automatic Network Configurator",
executables=[Executable("main.py", base="Win32GUI", icon="assets/icon/ethernet.ico")], #base="Win32GUI"
options={
"build_exe": {
"include_files": include_files,
"packages": ["setuptools", "customtkinter", "darkdetect", "psutil", "requests"],
"includes": ["setuptools", "customtkinter", "darkdetect", "psutil", "requests"],
},
},
)
# C:\Users\Skyfay\AppData\Local\Programs\Python\Python39\python.exe setup.py build (execute with python)