Debian Codegraph @

packaging/win/README.md

raw
1 = Deluge Installer for Windows =
2
3 Instructions for building the Deluge NSIS Installer for Windows Vista/7/8/8.1/10/11.
4
5 == Dependencies ==
6
7 - Deluge build: https://deluge.readthedocs.io/en/latest/depends.html
8 - PyInstaller: https://pypi.org/project/pyinstaller/
9 - NSIS: http://nsis.sourceforge.net/Download
10
11 == Build Steps ==
12
13 1. Build and Install Deluge on Windows.
14 2. Run pyinstaller from the deluge\packaging\win directory:
15
16 `pyinstaller --clean delugewin.spec --distpath freeze`
17
18 The result is a PyInstaller version of Deluge in `packaging\win\freeze`.
19
20 3. Run the NSIS scripts:
21
22 `python setup_nsis.py`
23
24 64-bit python:
25
26 `makensis /Darch=x64 deluge-win-installer.nsi`
27
28 32-bit python:
29
30 `makensis /Darch=x86 deluge-win-installer.nsi`
31
32 Note: If you don't specify arch defaults to trying x64
33
34 The result is a standalone installer in the `packaging\win` directory.