Release v0.3.1

This commit is contained in:
Stein Magnus Jodal 2011-01-22 14:33:47 +01:00
commit 71d791291b
5 changed files with 23 additions and 5 deletions

View File

@ -1,5 +1,5 @@
include LICENSE pylintrc *.rst data/mopidy.desktop
include mopidy/backends/libspotify/spotify_appkey.key
include mopidy/backends/spotify/spotify_appkey.key
recursive-include docs *
prune docs/_build
recursive-include requirements *

View File

@ -5,6 +5,20 @@ Changes
This change log is used to track all major changes to Mopidy.
0.3.1 (2010-01-22)
==================
A couple of fixes to the 0.3.0 release is needed to get a smooth installation.
**Bugfixes**
- The Spotify application key was missing from the Python package.
- Installation of the Python package as a normal user failed because it did not
have permissions to install ``mopidy.desktop``. The file is now only
installed if the installation is executed as the root user.
0.3.0 (2010-01-22)
==================

View File

@ -3,7 +3,7 @@ if not (2, 6) <= sys.version_info < (3,):
sys.exit(u'Mopidy requires Python >= 2.6, < 3')
def get_version():
return u'0.3.0'
return u'0.3.1'
class MopidyException(Exception):
def __init__(self, message, *args, **kwargs):

View File

@ -69,7 +69,10 @@ for dirpath, dirnames, filenames in os.walk(project_dir):
data_files.append([dirpath,
[os.path.join(dirpath, f) for f in filenames]])
data_files.append(('/usr/local/share/applications', ['data/mopidy.desktop']))
if os.geteuid() == 0:
# Only try to install this file if we are root
data_files.append(
('/usr/local/share/applications', ['data/mopidy.desktop']))
setup(
name='Mopidy',

View File

@ -14,5 +14,6 @@ class VersionTest(unittest.TestCase):
self.assert_(SV('0.1.0a3') < SV('0.1.0'))
self.assert_(SV('0.1.0') < SV('0.2.0'))
self.assert_(SV('0.1.0') < SV('1.0.0'))
self.assert_(SV('0.2.0') < SV(get_version()))
self.assert_(SV(get_version()) < SV('0.3.1'))
self.assert_(SV('0.2.0') < SV('0.3.0'))
self.assert_(SV('0.3.0') < SV(get_version()))
self.assert_(SV(get_version()) < SV('0.3.2'))