stefantalpalaru / deluge-default-trackers

Deluge plugin for adding default trackers to all the new torrents
GNU General Public License v3.0
141 stars 23 forks source link

Drop support for Python 2 (remove six dependency) #36

Closed ngosang closed 3 years ago

ngosang commented 3 years ago

Six dependency is not installed in LinuxServer Deluge Docker image. https://hub.docker.com/r/linuxserver/deluge In this PR I removed the six dependency, and therefore, Python2 support. Tested with Deluge 2.0.3 + Python 3.6

Compiled egg (rename .zip extension to .egg): DefaultTrackers-0.3-py3.6.zip

stefantalpalaru commented 3 years ago

Thanks!

I had to fix some URL encoding breakage, but it's par for the course with the disaster that is Python3: https://github.com/stefantalpalaru/deluge-default-trackers/commit/f2b8d7f7db5a1b4624150f033cc2f01d5f5a7ebb