Enter v0.4
This commit is contained in:
parent
a34a7ea6aa
commit
d61fbb3a04
4 changed files with 1202 additions and 803 deletions
26
setup.py
26
setup.py
|
@ -2,13 +2,27 @@
|
|||
|
||||
from distutils.core import setup
|
||||
|
||||
import pylast
|
||||
import os
|
||||
def get_build():
|
||||
path = "./.build"
|
||||
if os.path.exists(path):
|
||||
fp = open(path, "r")
|
||||
build = eval(fp.read())+1
|
||||
fp.close()
|
||||
else:
|
||||
build = 1
|
||||
|
||||
fp = open(path, "w")
|
||||
fp.write(str(build))
|
||||
fp.close()
|
||||
|
||||
return unicode(build)
|
||||
|
||||
setup(name = pylast.__name__,
|
||||
version = pylast.__version__,
|
||||
author = pylast.__author__,
|
||||
description = pylast.__doc__,
|
||||
author_email = pylast.__email__,
|
||||
setup(name = "pylast",
|
||||
version = "0.4." + 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 = "http://code.google.com/p/pylast/",
|
||||
py_modules = ("pylast",),
|
||||
license = "GPLv3"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue