]> kaliko git repositories - python-musicpd.git/blobdiff - setup.py
Fixed documentation
[python-musicpd.git] / setup.py
index c1818c5f137191080db95d3364145ecdba94a662..18e00077babaa124e9ef20512e12d92b901e3540 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -1,54 +1,60 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 
 from distutils.core import setup
 
+from musicpd import VERSION
 
 DESCRIPTION = """\
 An MPD (Music Player Daemon) client library written in pure Python.\
 """
 
+
+with open('README.rst') as file:
+    LONG_DESCRIPTION = file.read()
+
 CLASSIFIERS = [
-    "Development Status :: 4 - Beta",
+    "Development Status :: 5 - Production/Stable",
     "Intended Audience :: Developers",
-    "License :: OSI Approved :: GNU General Public License (GPL)",
+    "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
     "Natural Language :: English",
     "Operating System :: OS Independent",
-    "Programming Language :: Python",
+    "Programming Language :: Python :: 3",
     "Topic :: Software Development :: Libraries :: Python Modules",
 ]
 
 LICENSE = """\
-Copyright (C) 2008  J. Alexander Treuman <jat@spatialrift.net>
+Copyright (C) 2008-2010  J. Alexander Treuman <jat@spatialrift.net>
+Copyright (C) 2012-2013  Kaliko Jack <kaliko@azylum.org>
 
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
+python-musicpd is free software: you can redistribute it and/or modify
+it under the terms of the GNU Lesser General Public License as published by
 the Free Software Foundation, either version 3 of the License, or
 (at your option) any later version.
 
-This program is distributed in the hope that it will be useful,
+python-musicpd is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU General Public License for more details.
+GNU Lesser General Public License for more details.
 
-You should have received a copy of the GNU General Public License
-along with this program.  If not, see <http://www.gnu.org/licenses/>.\
+You should have received a copy of the GNU Lesser General Public License
+along with python-musicpd.  If not, see <http://www.gnu.org/licenses/>.\
 """
 
 
 setup(
-    name="python-mpd",
-    version="0.2.1",
-    description="Python MPD client library",
-    long_description=DESCRIPTION,
-    author="J. Alexander Treuman",
-    author_email="jat@spatialrift.net",
-    url="http://jatreuman.indefero.net/p/python-mpd/",
-    download_url="http://pypi.python.org/pypi/python-mpd/",
-    py_modules=["mpd"],
+    name='python-musicpd',
+    version=VERSION,
+    description=DESCRIPTION,
+    long_description=LONG_DESCRIPTION,
+    author='Kaliko Jack',
+    author_email='kaliko@azylum.org',
+    url="http://kaliko.me/code/python-musicpd",
+    download_url="http://pypi.python.org/pypi/python-musicpd/",
+    py_modules=["musicpd"],
     classifiers=CLASSIFIERS,
-    #license=LICENSE,
+    license=LICENSE,
     keywords=["mpd"],
-    #platforms=["Independant"],
+    platforms=["Independant"],
 )