Mercurial > hg > camir-ismir2012
view toolboxes/_python_lib/pylast/setup.py @ 0:cc4b1211e677 tip
initial commit to HG from
Changeset:
646 (e263d8a21543) added further path and more save "camirversion.m"
author | Daniel Wolff |
---|---|
date | Fri, 19 Aug 2016 13:07:06 +0200 |
parents | |
children |
line wrap: on
line source
#!/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" )