Make setup.py Python 3 compatible

This commit is contained in:
Stein Magnus Jodal 2013-04-14 11:45:26 +02:00
parent f001142b7d
commit 526bc83712

View File

@ -28,10 +28,10 @@ setup(
'Pykka >= 1.1', 'Pykka >= 1.1',
], ],
extras_require={ extras_require={
b'spotify': ['pyspotify >= 1.9, < 1.11'], 'spotify': ['pyspotify >= 1.9, < 1.11'],
b'scrobbler': ['pylast >= 0.5.7'], 'scrobbler': ['pylast >= 0.5.7'],
b'http': ['cherrypy >= 3.2.2', 'ws4py >= 0.2.3'], 'http': ['cherrypy >= 3.2.2', 'ws4py >= 0.2.3'],
b'external_mixers': ['pyserial'], 'external_mixers': ['pyserial'],
}, },
test_suite='nose.collector', test_suite='nose.collector',
tests_require=[ tests_require=[
@ -40,11 +40,11 @@ setup(
'unittest2', 'unittest2',
], ],
entry_points={ entry_points={
b'console_scripts': [ 'console_scripts': [
'mopidy = mopidy.__main__:main', 'mopidy = mopidy.__main__:main',
'mopidy-scan = mopidy.scanner:main', 'mopidy-scan = mopidy.scanner:main',
], ],
b'mopidy.ext': [ 'mopidy.ext': [
'http = mopidy.frontends.http:Extension [http]', 'http = mopidy.frontends.http:Extension [http]',
'scrobbler = mopidy.frontends.scrobbler:Extension [scrobbler]', 'scrobbler = mopidy.frontends.scrobbler:Extension [scrobbler]',
'local = mopidy.backends.local:Extension', 'local = mopidy.backends.local:Extension',