From bfd56e9bb04f1d02016c1b8c0406c01152550e31 Mon Sep 17 00:00:00 2001 From: Kaliko Jack Date: Fri, 6 Feb 2015 22:26:05 +0100 Subject: [PATCH] Use of setuptools Update CHANGES, bump version --- CHANGES.txt | 5 +++++ musicpd.py | 5 ++--- setup.py | 15 ++++++++------- 3 files changed, 15 insertions(+), 10 deletions(-) mode change 100644 => 100755 setup.py diff --git a/CHANGES.txt b/CHANGES.txt index 3a7d6b9..c0d5d50 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,6 +1,11 @@ python-musicpd Changes List =========================== +Changes in 0.4.3 UNRELEASED +--------------------------- + +* Use setuptools + Changes in 0.4.2 ---------------- diff --git a/musicpd.py b/musicpd.py index a2637fb..855ff5f 100644 --- a/musicpd.py +++ b/musicpd.py @@ -15,7 +15,7 @@ # You should have received a copy of the GNU Lesser General Public License # along with python-musicpd. If not, see . -# pylint: disable=C0111 +# pylint: disable=missing-docstring import socket from functools import wraps @@ -25,7 +25,7 @@ HELLO_PREFIX = "OK MPD " ERROR_PREFIX = "ACK " SUCCESS = "OK" NEXT = "list_OK" -VERSION = '0.4.2' +VERSION = '0.4.3' def iterator_wrapper(func): @@ -446,7 +446,6 @@ class MPDClient: self.mpd_version = line[len(HELLO_PREFIX):].strip() def _reset(self): - # pylint: disable=w0201 self.mpd_version = None self._iterating = False self._pending = [] diff --git a/setup.py b/setup.py old mode 100644 new mode 100755 index 286dafa..8ed1c02 --- 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 @@ -24,7 +24,7 @@ CLASSIFIERS = [ LICENSE = """\ Copyright (C) 2008-2010 J. Alexander Treuman -Copyright (C) 2012-2014 Kaliko Jack +Copyright (C) 2012-2015 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 @@ -48,13 +48,14 @@ 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"], + keywords=['mpd', 'Music Player Daemon'], + platforms=['Independant'], + test_suite='test.py', ) -- 2.39.2