Import pylast-0.5.11

This commit is contained in:
Lukas Lipka 2012-03-10 14:49:00 +01:00
parent a6b1f50f2e
commit ad525bdd8b
8 changed files with 3920 additions and 0 deletions

32
setup.py Normal file
View file

@ -0,0 +1,32 @@
#!/usr/bin/env python
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())
if os.path.exists("./.increase_build"):
build += 1
fp.close()
else:
build = 1
fp = open(path, "w")
fp.write(str(build))
fp.close()
return str(build)
setup(name = "pylast",
version = "0.5." + 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 = "Apache2"
)