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