hydra/python_rpc/setup.py

21 lines
493 B
Python
Raw Permalink Normal View History

2024-11-28 22:16:05 +03:00
from cx_Freeze import setup, Executable
# Dependencies are automatically detected, but it might need fine tuning.
build_exe_options = {
"packages": ["libtorrent"],
"build_exe": "hydra-python-rpc",
"include_msvcr": True
}
setup(
name="hydra-python-rpc",
version="0.1",
description="Hydra",
options={"build_exe": build_exe_options},
executables=[Executable(
"python_rpc/main.py",
target_name="hydra-python-rpc",
icon="build/icon.ico"
)]
)