Deluge BitTorrent client - Git mirror, PRs only
https://www.deluge-torrent.org
2a945de069
GitHub pytest runner stalling with the following error: [Errno 2] No such file or directory: '/opt/hostedtoolcache/Python/3.10.8/x64/lib/python3.10/site-packages/deluge/plugins' This is related to the editable install of Deluge via pip pip install -e . and the custom resource_filename in deluge.common is the source of the problem where a DistInfoDistribution returns a different path to EggInfoDistribution. Working egg-info install >>> pkg_resources.get_distribution('Deluge') deluge 2.1.1.dev8 (/home/user/deluge) >>> type(pkg_resources.get_distribution('Deluge')) <class 'pkg_resources.EggInfoDistribution'> >>> pkg_resources.resource_filename('deluge', 'plugins') '/home/user/deluge/deluge/plugins' This can identified by the `deluge.egg-info` directory in source directory. Broken dist-info install >>> pkg_resources.get_distribution('Deluge') deluge 2.1.1.dev8 (/opt/hostedtoolcache/Python/3.10.8/x64/lib/python3.10/site-packages) >>> type(pkg_resources.get_distribution('Deluge')) <class 'pkg_resources.DistInfoDistribution'> >>> pkg_resources.resource_filename('deluge', 'plugins') '/home/user/deluge/deluge/plugins' This can be worked around by setting an env var that enables legacy mode but long-term need to replace the custom resource_filename and replace usage of pkg_resources. https://setuptools.pypa.io/en/latest/userguide/development_mode.html#legacy-behavior https://setuptools.pypa.io/en/latest/pkg_resources.html |
||
---|---|---|
.github/workflows | ||
deluge | ||
docs | ||
packaging | ||
.gitattributes | ||
.gitignore | ||
.pre-commit-config.yaml | ||
.prettierignore | ||
.prettierrc.yaml | ||
.pylintrc | ||
.readthedocs.yml | ||
AUTHORS | ||
CHANGELOG.md | ||
DEPENDS.md | ||
LICENSE | ||
MANIFEST.in | ||
README.md | ||
gen_web_gettext.py | ||
generate_pot.py | ||
minify_web_js.py | ||
msgfmt.py | ||
pyproject.toml | ||
requirements-dev.txt | ||
requirements-tests.txt | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
tox.ini | ||
version.py |
README.md
Deluge BitTorrent Client
Deluge is a BitTorrent client that utilizes a daemon/client model. It has various user interfaces available such as the GTK-UI, Web-UI and Console-UI. It uses libtorrent at its core to handle the BitTorrent protocol.
Install
From PyPi:
pip install deluge
with all optional dependencies:
pip install deluge[all]
From source code:
pip install .
with all optional dependencies:
pip install .[all]
See DEPENDS and Installing/Source for dependency details.
Usage
The various user-interfaces and Deluge daemon can be started with the following commands.
Use the --help
option for further command options.
Gtk UI
deluge
or deluge-gtk
Console UI
deluge-console
Web UI
deluge-web
Open http://localhost:8112 with default password deluge
.
Daemon
deluged
See the Thinclient guide to connect to the daemon from another computer.