Enter v0.4
This commit is contained in:
parent
a34a7ea6aa
commit
d61fbb3a04
7
README
Normal file
7
README
Normal 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/
|
26
setup.py
26
setup.py
|
@ -2,13 +2,27 @@
|
||||||
|
|
||||||
from distutils.core import setup
|
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
|
||||||
|
|
||||||
setup(name = pylast.__name__,
|
fp = open(path, "w")
|
||||||
version = pylast.__version__,
|
fp.write(str(build))
|
||||||
author = pylast.__author__,
|
fp.close()
|
||||||
description = pylast.__doc__,
|
|
||||||
author_email = pylast.__email__,
|
return unicode(build)
|
||||||
|
|
||||||
|
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/",
|
url = "http://code.google.com/p/pylast/",
|
||||||
py_modules = ("pylast",),
|
py_modules = ("pylast",),
|
||||||
license = "GPLv3"
|
license = "GPLv3"
|
||||||
|
|
Loading…
Reference in a new issue