deluge/win32/deluge-bbfreeze.py
Jesper Lund 070b939ec4 Made .torrent file association optional in installer.
Added Win32 README file with installer build instructions.
2009-04-27 23:18:01 +00:00

13 lines
616 B
Python

build_version = "1.1.7"
python_path = "C:\\Python25\\"
import shutil
shutil.copy(python_path + "Scripts\deluge-script.py", python_path + "Scripts\deluge.py")
shutil.copy(python_path + "Scripts\deluged-script.py", python_path + "Scripts\deluged.py")
from bbfreeze import Freezer
f = Freezer("..\\build-win32\\deluge-bbfreeze-" + build_version, includes=("gzip", "zipfile", "re", "socket", "struct", "cairo", "pangocairo", "atk", "pango"))
f.addScript(python_path + "Scripts\deluge.py", gui_only=False)
f.addScript(python_path + "Scripts\deluged.py", gui_only=False)
f() # starts the freezing process