]> kaliko git repositories - python-musicpd.git/blobdiff - setup.py
Add suport for environment variables MPD_HOST/MPD_PORT/XDG_RUNTIME_DIR
[python-musicpd.git] / setup.py
old mode 100644 (file)
new mode 100755 (executable)
index e3418ab..afcbf23
--- a/setup.py
+++ b/setup.py
@@ -1,12 +1,17 @@
 #! /usr/bin/env python3
 
-from distutils.core import setup
+from setuptools import setup
 
+from musicpd import VERSION
 
 DESCRIPTION = """\
 An MPD (Music Player Daemon) client library written in pure Python.\
 """
 
+
+with open('README.rst', encoding='UTF-8') as file:
+    LONG_DESCRIPTION = file.read()
+
 CLASSIFIERS = [
     "Development Status :: 5 - Production/Stable",
     "Intended Audience :: Developers",
@@ -19,7 +24,7 @@ CLASSIFIERS = [
 
 LICENSE = """\
 Copyright (C) 2008-2010  J. Alexander Treuman <jat@spatialrift.net>
-Copyright (C) 2012-2013  Kaliko Jack <kaliko@azylum.org>
+Copyright (C) 2012-2018  Kaliko Jack <kaliko@azylum.org>
 
 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
@@ -38,18 +43,19 @@ along with python-musicpd.  If not, see <http://www.gnu.org/licenses/>.\
 
 setup(
     name='python-musicpd',
-    version='0.3.1',
-    description='Python MPD client library',
-    long_description=DESCRIPTION,
+    version=VERSION,
+    description=DESCRIPTION,
+    long_description=LONG_DESCRIPTION,
     author='Kaliko Jack',
     author_email='kaliko@azylum.org',
-    #url="http://jatreuman.indefero.net/p/python-mpd/",
-    download_url="http://pypi.python.org/pypi/python-musicpd/",
-    py_modules=["musicpd"],
+    url='http://kaliko.me/code/python-musicpd',
+    download_url='http://pypi.python.org/pypi/python-musicpd/',
+    py_modules=['musicpd'],
     classifiers=CLASSIFIERS,
     license=LICENSE,
-    keywords=["mpd"],
-    platforms=["Independant"],
+    keywords=['mpd', 'Music Player Daemon'],
+    platforms=['Independant'],
+    test_suite='test.py',
 )