If wanted, then can quickly test again, in non-evassive way, by e.g. if having git installed(still can do without, with few more lines added), then running(path not important, change at will):
Code: Select all
python3 -m venv ~/.local/deluge
~/.local/deluge/bin/pip3 install git+https://github.com/deluge-torrent/deluge@master
sed -i 's/false/true/' ~/.local/deluge/pyvenv.cfg
Delete the '~/.local/deluge' dir(or whereever choosen path initially) to remove all traces of deluge-stable again, when finished with it.
(Btw, I didn't just stipulate '--system-site-packages' initially during venv-creation, because then pip omits installing deluge because 'deluge' package already satisfied(found) since globally installed already, hence the 'sed' line afterwards, enabling this, to make virtualized deluge have acces to system-wide python3-{gi,cairo}), and libtorrent.
Edit: Sorry, not important but since deluge-stable is already in pypi, then might as well change the pip line installing deluge to just simply '~/.local/deluge/bin/pip3 install deluge', forgot sorry. Btw, for others, if having stable installed, and wanting dev to be available too, e.g. for testing, then can likewise use above posted commands, and just omit the '@master' part at end of the pip deluge install line - default branch is develop and master always is latest stable version btw(for deluge specifically).