Enter v0.4

This commit is contained in:
Amr Hassan 2009-08-31 04:18:37 +00:00
parent a34a7ea6aa
commit d61fbb3a04
4 changed files with 1202 additions and 803 deletions

1
.build Normal file
View file

@ -0,0 +1 @@
1

7
README Normal file
View file

@ -0,0 +1,7 @@
pylast
------
A python interface to Last.fm. Try using the pydoc utility for help
on usage.
For more info check out the project's home page at http://code.google.com/p/pylast/
or the mailing list http://groups.google.com/group/pylast/

1971
pylast.py

File diff suppressed because it is too large Load diff

View file

@ -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"