changed versioning system to include svn revision.
This commit is contained in:
parent
5baa605bd2
commit
a34b8b558e
|
@ -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/"
|
||||
|
|
5
setup.py
5
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"
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue