deluge/packaging/win
Cirno the Strongest e75ef7e31f
[Packaging] Simplify PyInstaller spec file
This makes the process of editing the file much more pleasant and
removes duplicate code.

Fixed collecting twisted package which brings both build speed
improvements but also decreases package size, as it stops PyInstaller
from bundling tests (actually, some tests might even execute during
import and break build if they're designed to throw!) used by
PyInstaller

Closes: https://github.com/deluge-torrent/deluge/pull/342
2022-01-23 16:04:33 +00:00
..
README.md Update Windows Packaging 2022-01-13 22:23:08 +00:00
deluge-win-installer.nsi Update Windows Packaging 2022-01-13 22:23:08 +00:00
delugewin.spec [Packaging] Simplify PyInstaller spec file 2022-01-23 16:04:33 +00:00
installer-side.bmp Update Windows Packaging 2022-01-13 22:23:08 +00:00
installer-top.bmp Update Windows Packaging 2022-01-13 22:23:08 +00:00
pyi_rth_gtk_csd.py [Packaging] Disable GTK CSD by default on Windows 2022-01-21 12:53:54 +00:00
setup_nsis.py Update Windows Packaging 2022-01-13 22:23:08 +00:00

README.md

= Deluge Installer for Windows =

Instructions for building the Deluge NSIS Installer for Windows Vista/7/8/8.1/10/11.

== Dependencies ==

== Build Steps ==

  1. Build and Install Deluge on Windows.

  2. Run the pyinstaller from the deluge\packaging\win directory.spec:

    pyinstaller --clean delugewin.spec --distpath .\packaging\win\freeze

    The result is a PyInstaller version of Deluge in packaging\win\freeze.

  3. Run the NSIS script:

    64-bit python:

    makensis /Darch=x64 deluge-win-installer.nsi

    32-bit python:

    makensis /Darch=x86 deluge-win-installer.nsi

    Note: If you don't specify arch defaults to trying x64

The result is a standalone installer in the packaging\win directory.