setup.py is now also Python3 friendly

This commit is contained in:
Amr Hassan 2011-01-05 05:09:30 +00:00
parent d0344f40d4
commit 232848df19

View file

@ -19,14 +19,14 @@ def get_build():
fp.write(str(build)) fp.write(str(build))
fp.close() fp.close()
return unicode(build) return str(build)
setup(name = "pylast", setup(name = "pylast",
version = "0.4." + get_build(), version = "0.5." + get_build(),
author = "Amr Hassan <amr.hassan@gmail.com>", author = "Amr Hassan <amr.hassan@gmail.com>",
description = "A Python interface to Last.fm (and other API compatible social networks)", description = "A Python interface to Last.fm (and other API compatible social networks)",
author_email = "amr.hassan@gmail.com", 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 = "Apache2"
) )