mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-03 00:33:49 +03:00
build: use cx freeze instead pyinstaller
This commit is contained in:
parent
2893ff559f
commit
62342ce53c
16
torrent-client/setup.py
Normal file
16
torrent-client/setup.py
Normal file
@ -0,0 +1,16 @@
|
||||
from cx_Freeze import setup, Executable
|
||||
|
||||
# Dependencies are automatically detected, but it might need fine tuning.
|
||||
build_exe_options = {
|
||||
"packages": ["libtorrent"],
|
||||
"build_exe": "resources/dist/hydra-download-manager",
|
||||
"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")]
|
||||
)
|
Loading…
Reference in New Issue
Block a user