[Install] Update and fix python optional requirements

* Added required dependency setuptools to install_requires
* Remove optional dependency ipaddress from install_requires
* Created extras_require in setup.py. The optional dependencies should
not be included in install_requires so that users can either install
forked dependencies or remove problematic ones. Updated documentation to
detail how to install these optional dependencies.
* Fixed README badge

Refs:
 * https://dev.deluge-torrent.org/ticket/3470
 * https://dev.deluge-torrent.org/ticket/3282
 * https://dev.deluge-torrent.org/ticket/3353
This commit is contained in:
Calum Lind
2019-06-21 10:56:10 +01:00
parent a3332079db
commit 8fb25f71f3
7 changed files with 31 additions and 17 deletions

View File

@ -10,4 +10,4 @@ setproctitle
pywin32; sys_platform == 'win32'
certifi; sys_platform == 'win32'
zope.interface>=4.4.2
distro; 'win' not in sys_platform
distro; 'linux' in sys_platform or 'bsd' in sys_platform