X-Git-Url: https://git.kaliko.me/?p=python-musicpd.git;a=blobdiff_plain;f=setup.py;h=06924ade4e6639c1098b5ccc441991199d97331d;hp=81c1276a03afb5f7f6aeef3380f4c9c786ad3dc8;hb=0304a10fe76deb1dfcdb5672958877ff2b2e6212;hpb=4fdeb581beba85d9157fac917c48ae08dda4c941 diff --git a/setup.py b/setup.py old mode 100644 new mode 100755 index 81c1276..06924ad --- a/setup.py +++ b/setup.py @@ -1,6 +1,7 @@ #! /usr/bin/env python3 +# coding: utf-8 -from distutils.core import setup +from setuptools import setup from musicpd import VERSION @@ -9,7 +10,7 @@ An MPD (Music Player Daemon) client library written in pure Python.\ """ -with open('README.txt') as file: +with open('README.rst', encoding='UTF-8') as file: LONG_DESCRIPTION = file.read() CLASSIFIERS = [ @@ -22,24 +23,6 @@ CLASSIFIERS = [ "Topic :: Software Development :: Libraries :: Python Modules", ] -LICENSE = """\ -Copyright (C) 2008-2010 J. Alexander Treuman -Copyright (C) 2012-2013 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 -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -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 Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public License -along with python-musicpd. If not, see .\ -""" - setup( name='python-musicpd', @@ -48,13 +31,13 @@ setup( 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"], + license='LGPLv3+', + keywords=['mpd', 'Music Player Daemon'], + platforms=['Independant'], )