diff --git a/pylast.py b/pylast.py index 5971043..9f6d77e 100644 --- a/pylast.py +++ b/pylast.py @@ -21,7 +21,7 @@ # http://code.google.com/p/pylast/ __name__ = 'pylast' -__version__ = '0.3.5' +__version__ = '0.3' __revision__ = "$Revision$" __doc__ = 'A Python interface to Last.fm' __author__ = 'Amr Hassan' @@ -29,6 +29,10 @@ __copyright__ = "Copyright (C) 2008-2009 Amr Hassan" __license__ = "gpl" __email__ = 'amr.hassan@gmail.com' +# Parse revision and add it to __version__ +r = __revision__ +__version__ = __version__ + "." + r[r.find(" ")+1:r.rfind("$")-1] + # Default values for Last.fm. WS_SERVER = ('ws.audioscrobbler.com', '/2.0/') SUBMISSION_SERVER = "http://post.audioscrobbler.com:80/" diff --git a/setup.py b/setup.py index 802d406..4aeebd4 100755 --- a/setup.py +++ b/setup.py @@ -9,6 +9,7 @@ setup(name = pylast.__name__, author = pylast.__author__, description = pylast.__doc__, author_email = pylast.__email__, - url='http://code.google.com/p/pylast/', - py_modules= ("pylast",) -) + url = "http://code.google.com/p/pylast/", + py_modules = ("pylast",), + license = "GPLv3" + )