-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
29 lines (26 loc) · 751 Bytes
/
setup.py
File metadata and controls
29 lines (26 loc) · 751 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
27
28
29
# setup.py
from cx_Freeze import setup, Executable
import sys
# Dependencias incluidas automáticamente
build_exe_options = {
"packages": ["PySide6", "paramiko", "psutil"],
"excludes": ["tkinter", "unittest", "email", "http", "urllib"],
"include_files": [],
}
base = None
if sys.platform == "win32":
base = "Win32GUI" # Para aplicación sin consola
setup(
name="SSH Tunnel Manager",
version="1.0",
description="Professional SSH Tunnel Management Tool",
options={"build_exe": build_exe_options},
executables=[
Executable(
"ssh_tunnel_manager.py",
base=base,
icon="icon.ico", # Opcional: añade un icono
target_name="SSHTunnelManager.exe"
)
]
)