X-Git-Url: http://git.kaliko.me/?p=python-musicpd.git;a=blobdiff_plain;f=setup.py;h=afcbf23d382383f40a5ef8edbaacbf1b6283ff87;hp=8bc489d14bfc211760f75fde8a047fb882af3b27;hb=1fb65355de64ef044d0a7b3736a21bed6a6ae290;hpb=8b540cb8ec163a457d81b84098eba80d630ed7e7 diff --git a/setup.py b/setup.py old mode 100644 new mode 100755 index 8bc489d..afcbf23 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ #! /usr/bin/env python3 -from distutils.core import setup +from setuptools import setup from musicpd import VERSION @@ -8,6 +8,10 @@ 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", @@ -20,7 +24,7 @@ CLASSIFIERS = [ LICENSE = """\ Copyright (C) 2008-2010 J. Alexander Treuman -Copyright (C) 2012-2013 Kaliko Jack +Copyright (C) 2012-2018 Kaliko Jack 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 @@ -40,17 +44,18 @@ along with python-musicpd. If not, see .\ setup( name='python-musicpd', version=VERSION, - description='Python MPD client library', - long_description=DESCRIPTION, + 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"], + 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', )