Add support for python3

Mopidy no longer supports Python 2.7.
These changes remove support for Python 2.7 in subidy as well
This commit is contained in:
Aaron B. Gallagher 2020-01-29 20:28:31 -08:00
parent a2b22cb793
commit e27563edaf
2 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
from urlparse import urlparse from urllib.parse import urlparse
from urllib import urlencode from urllib.parse import urlencode
import libsonic import libsonic
import logging import logging
import itertools import itertools

View file

@ -24,11 +24,11 @@ setup(
install_requires=[ install_requires=[
'setuptools', 'setuptools',
'Mopidy >= 2.0', 'Mopidy >= 2.0',
'py-sonic == 0.6.2', 'py-sonic >= 0.7.7',
'Pykka >= 1.1' 'Pykka >= 1.1'
], ],
entry_points={ entry_points={
b'mopidy.ext': [ 'mopidy.ext': [
'subidy = mopidy_subidy:SubidyExtension', 'subidy = mopidy_subidy:SubidyExtension',
], ],
}, },