deluge/packaging/win
tbkizle 540d557cb2
[Common] Add is_interface to validate network interfaces
Libtorrent now supports interface names instead of just IP address so
add new common functions to validate user input.

* Added is_interface that will verify if a libtorrent interface of name
or IP address.
* Added is_interface_name to verify that the name supplied is a valid
network interface name in the operating system.
  On Windows sock.if_nameindex() is only supported on 3.8+ and does not
return a uuid (required by libtorrent) so use ifaddr package. Using git
commit version for ifaddr due to adapter name decode bug in v0.1.7.
On other OSes attempt to use stdlib and fallback to ifaddr if installed
otherwiser return True.
* Added tests for is_interface & is_interface_name
* Updated UIs with change from address to interface
* Updated is_ipv6 and is_ipv4 to used inet_pton; now supported on
Windows.

Ref: https://github.com/pydron/ifaddr/pull/32
Closes: https://github.com/deluge-torrent/deluge/pull/338
2022-01-30 16:13:27 +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 [Common] Add is_interface to validate network interfaces 2022-01-30 16:13:27 +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.