2024-04-21 08:26:29 +03:00
|
|
|
from cx_Freeze import setup, Executable
|
|
|
|
|
|
|
|
# Dependencies are automatically detected, but it might need fine tuning.
|
|
|
|
build_exe_options = {
|
|
|
|
"packages": ["libtorrent"],
|
2024-04-24 12:22:12 +03:00
|
|
|
"build_exe": "hydra-download-manager",
|
2024-04-21 08:26:29 +03:00
|
|
|
"include_msvcr": True
|
|
|
|
}
|
|
|
|
|
|
|
|
setup(
|
|
|
|
name="hydra-download-manager",
|
|
|
|
version="0.1",
|
|
|
|
description="Hydra Torrent Client",
|
|
|
|
options={"build_exe": build_exe_options},
|
|
|
|
executables=[Executable(
|
|
|
|
"torrent-client/main.py",
|
|
|
|
target_name="hydra-download-manager",
|
2024-05-04 20:41:27 +03:00
|
|
|
icon="build/icon.ico"
|
2024-04-21 08:26:29 +03:00
|
|
|
)]
|
|
|
|
)
|