mirror of
https://github.com/logos-storage/deluge.git
synced 2026-01-03 13:43:08 +00:00
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>