Merge branch 'master' of github.com:inversion/pylast
This commit is contained in:
commit
6fa5bacf20
|
@ -18,7 +18,7 @@
|
|||
#
|
||||
# http://code.google.com/p/pylast/
|
||||
|
||||
__version__ = '0.5'
|
||||
__version__ = '0.6'
|
||||
__author__ = 'Amr Hassan'
|
||||
__copyright__ = "Copyright (C) 2008-2010 Amr Hassan"
|
||||
__license__ = "apache2"
|
||||
|
|
10
setup.py
10
setup.py
|
@ -5,7 +5,7 @@ from distutils.core import setup
|
|||
import os
|
||||
def get_build():
|
||||
path = "./.build"
|
||||
|
||||
|
||||
if os.path.exists(path):
|
||||
fp = open(path, "r")
|
||||
build = eval(fp.read())
|
||||
|
@ -14,19 +14,19 @@ def get_build():
|
|||
fp.close()
|
||||
else:
|
||||
build = 1
|
||||
|
||||
|
||||
fp = open(path, "w")
|
||||
fp.write(str(build))
|
||||
fp.close()
|
||||
|
||||
|
||||
return str(build)
|
||||
|
||||
setup(name = "pylast",
|
||||
version = "0.1+0.5." + get_build(),
|
||||
version = "0.6." + get_build(),
|
||||
author = "Amr Hassan <amr.hassan@gmail.com>",
|
||||
description = "A Python interface to Last.fm (and other API compatible social networks)",
|
||||
author_email = "amr.hassan@gmail.com",
|
||||
url = "https://github.com/Elizacat/",
|
||||
url = "https://github.com/inversion/",
|
||||
py_modules = ("pylast",),
|
||||
license = "Apache2"
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue