From ecfd32a5f3acccdebf041ad8d4d9f031be1834ce Mon Sep 17 00:00:00 2001 From: Massimo Mund Date: Wed, 9 Mar 2016 19:13:17 +0100 Subject: [PATCH] Release 0.5.0 --- README.md | 2 +- setup.py | 14 +------------- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 2bbb6b21..3f1ef7af 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ If I could help you or if you like my work, you can buy me a [coffee, a beer or ## Changelog ## - * __master__ - (_2016-03-08_) + * __0.5.0__ - (_2016-03-09_) - Set Yamaha devices to the appropriate mode before playing (thanks to [hlchau](https://github.com/hlchau)) (new dependency: `python-lxml`) - Fixed a bug where some SSDP messages could not get parsed correctly - Also support media renderers identifying as `urn:schemas-upnp-org:device:MediaRenderer:2` diff --git a/setup.py b/setup.py index cdf6535e..3b2d041f 100644 --- a/setup.py +++ b/setup.py @@ -15,21 +15,9 @@ # You should have received a copy of the GNU General Public License # along with pulseaudio-dlna. If not, see . -import os -import re import setuptools -def get_version(): - path = os.path.abspath(os.path.dirname(__file__)) - path = os.path.join(path, "debian", "changelog") - ex = r"pulseaudio-dlna \((\d+\.\d+\.\d+(\.\d+)?)\) .*$" - with open(path) as f: - releases = f.readlines() - releases = [re.match(ex, i) for i in releases] - releases = [i.group(1) for i in releases if i] - return releases[0] - setuptools.setup( name="pulseaudio-dlna", author="Massimo Mund", @@ -46,7 +34,7 @@ def get_version(): "Topic :: Multimedia :: Sound/Audio", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", ], - version=get_version(), + version='0.5.0', py_modules=[], packages=setuptools.find_packages(), install_requires=[