mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-10 19:46:22 +00:00
Calum Lind
84802da29b
[Py2to3] Force unicode_literals and fix related issues
* Added `from __future__ import unicode_literals` to every file so now all strings in code are forced to be unicode strings unless marked as byte string `b'str'` or encoded to byte string `'str'.encode('utf-8')`. This is a large change but we have been working towards the goal of unicode strings passed in the code so decoding external input and encoding output as byte strings (where applicable). Note that in Python 2 the `str` type still refers to byte strings. * Replaced the use of `str` for `basestring` in isinstance comparison as this was the original intention but breaks code when encoutering unicode strings. * Marked byte strings in gtkui as the conversion to utf8 is not always handled, mostly related to gobject signal names.
========================= Deluge BitTorrent Client ========================= |build-status| |docs| Homepage: http://deluge-torrent.org Authors: Andrew Resch Damien Churchill For contributors and past developers see: AUTHORS ========================== Installation Instructions: ========================== For detailed instructions see: http://dev.deluge-torrent.org/wiki/Installing/Source Ensure build dependencies are installed, see DEPENDS for a full listing. Build and install by running:: $ python setup.py build $ sudo python setup.py install ================ Contact/Support: ================ :Forum: http://forum.deluge-torrent.org :IRC Channel: #deluge on irc.freenode.net === FAQ === For the full FAQ see: http://dev.deluge-torrent.org/wiki/Faq How to start the various user-interfaces: Gtk:: deluge or deluge-gtk Console:: deluge-console Web:: deluge-web Go to http://localhost:8112/ default-password = "deluge" How do I start the daemon?: deluged I can't connect to the daemon from another machine: See: http://dev.deluge-torrent.org/wiki/UserGuide/ThinClient .. |build-status| image:: https://travis-ci.org/deluge-torrent/deluge.svg :target: https://travis-ci.org/deluge-torrent/deluge .. |docs| image:: https://readthedocs.org/projects/deluge/badge/?version=develop :target: https://readthedocs.org/projects/deluge/?badge=develop :alt: Documentation Status
Description
Deluge BitTorrent client - Git mirror, PRs only
https://www.deluge-torrent.org
Languages
Python
75.6%
JavaScript
15.3%
CSS
8.3%
Shell
0.4%
NSIS
0.3%
Other
0.1%