Deluge BitTorrent client - Git mirror, PRs only https://www.deluge-torrent.org
Go to file
Calum Lind 40a66278a3
[Common] Replace pkg_resources with importlib for resource path finding
With an existing Deluge package installed on the system errors were
occuring trying to start a development instance in virtualenv.

Fixed by replacing usage of deprecated pkg_resource for finding
non-python data files. Includes fallback for Python 3.7/3.8 but drops
Python 3.6 support.

The plugins are still using pkg_resources since they are distributed as
eggs and importlib extracts those data files differently to
pkg_resources so requires a different solution, either as a file stream
or manually cached when plugins are installed.

Closes: https://github.com/deluge-torrent/deluge/pull/403

Co-authored-by: DjLegolas <djlegolas@protonmail.com>
2023-05-29 12:08:34 +01:00
.github/workflows [Common] Replace pkg_resources with importlib for resource path finding 2023-05-29 12:08:34 +01:00
deluge [Common] Replace pkg_resources with importlib for resource path finding 2023-05-29 12:08:34 +01:00
docs [Docs] Update changelog and install details 2022-07-08 09:04:57 +01:00
packaging [Packaging][Windows] Add DisplayVersion registry key 2023-02-24 13:16:01 +00:00
.gitattributes [Tests] Fix erroneous windows line endings in test state file 2022-01-26 18:44:47 +00:00
.gitignore Add metainfo.xml to gitignore 2023-03-03 10:46:31 +00:00
.pre-commit-config.yaml [Lint] Update pre-commit apps to latest versions 2023-02-24 14:59:15 +00:00
.prettierignore [Lint] Format files with Prettier 2018-10-03 18:16:09 +01:00
.prettierrc.yaml [Lint] Format files with Prettier 2018-10-03 18:16:09 +01:00
.pylintrc Remove all Python 2 support 2021-12-28 19:26:38 +00:00
.readthedocs.yml [Docs] Fix missing path in RTD config 2019-05-22 18:01:05 +01:00
AUTHORS [UI] Add magnet icons for copy and add actions 2021-09-21 20:38:08 +01:00
CHANGELOG.md [Common] Replace pkg_resources with importlib for resource path finding 2023-05-29 12:08:34 +01:00
DEPENDS.md [Core] Stopped using libtorrent deprecated functions 2022-02-13 11:36:04 +00:00
LICENSE Update LICENSE in trunk too.. 2009-04-06 21:17:26 +00:00
MANIFEST.in [Packaging] Fix gtk3 glade path in MANIFEST 2021-11-23 20:07:33 +00:00
README.md [Docs] Add permanent discord invite link 2022-02-15 15:30:08 +00:00
gen_web_gettext.py Upgrade codebase with pyupgrade (>=py3.6) 2021-12-29 21:51:07 +00:00
generate_pot.py [Lint] Update pre-commit apps to latest versions 2023-02-24 14:59:15 +00:00
minify_web_js.py Upgrade codebase with pyupgrade (>=py3.6) 2021-12-29 21:51:07 +00:00
msgfmt.py Upgrade codebase with pyupgrade (>=py3.6) 2021-12-29 21:51:07 +00:00
pyproject.toml [Tests] Fix component warning in Plugin tests 2023-02-28 14:21:18 +00:00
requirements-dev.txt [Build] Fix WebUI js minifying error 2021-12-15 09:37:55 +00:00
requirements-tests.txt [Tests] Fix save_resume_data errors in test_torrent 2023-02-28 15:05:52 +00:00
requirements.txt [CI] Bump ifaddr to 0.2.0 2022-06-30 21:47:06 +01:00
setup.cfg [Lint] Update linter version and fix issues 2022-02-13 13:38:27 +00:00
setup.py Update metainfo install path 2023-02-24 13:42:19 +00:00
tox.ini [Tests] Ignore 3rd-party deprecation warnings in pytest 2023-02-27 20:15:12 +00:00
version.py Upgrade codebase with pyupgrade (>=py3.6) 2021-12-29 21:51:07 +00:00

README.md

Deluge BitTorrent Client

build-status docs-status

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.

Contact