X-Git-Url: http://git.kaliko.me/?p=python-musicpd.git;a=blobdiff_plain;f=setup.py;h=9b6a127b9679f6eb8162eab0eb02acac6869fa6d;hp=672fcc49b18a31cf334f2ca75c3cba8eb3115249;hb=c45cc084b0543af12fe815f6dee14303eac20e2a;hpb=0a2bc970f75e7963af0da849e2467ede64c79b91 diff --git a/setup.py b/setup.py old mode 100644 new mode 100755 index 672fcc4..9b6a127 --- a/setup.py +++ b/setup.py @@ -1,54 +1,44 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 +# coding: utf-8 -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 :: 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 - -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 -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, -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. - -You should have received a copy of the GNU General Public License -along with this program. If not, see .\ -""" - setup( - name="python-mpd", - version="0.1.0", - description="Python MPD client library", - long_description=DESCRIPTION, - author="J. Alexander Treuman", - author_email="jat@spatialrift.net", - url="http://www.musicpd.org/~jat/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, + long_description_content_type='text/x-rst', + author='Kaliko Jack', + author_email='kaliko@azylum.org', + url='https://kaliko.me/python-musicpd/', + download_url='https://pypi.org/project/python-musicpd/', + py_modules=['musicpd'], classifiers=CLASSIFIERS, - license=LICENSE, - keywords=["mpd"], - platforms=["Independant"], + license='LGPLv3+', + keywords=['mpd', 'Music Player Daemon'], + platforms=['Independant'], )