Calum Lind d559f67ab9
[Packaging] Fix pyinstaller to find installed deluge package data
Instead of relying on the source code paths use the pip installed Deluge
package data.
2022-02-09 19:53:17 +00:00
..
2022-01-13 22:23:08 +00:00
2022-01-13 22:23:08 +00:00
2022-01-13 22:23:08 +00:00
2022-01-13 22:23:08 +00:00

= 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.