Commit 34597e01 authored by André Anjos's avatar André Anjos 💬
Browse files

[madmom] Remove outdated patch

parent 1fc0ad52
From 0c59f890d0a3e7e083e3a8cce9c1462b872fe1d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sebastian=20B=C3=B6ck?= <sebastian.boeck@jku.at>
Date: Thu, 1 Jun 2017 14:30:39 +0200
Subject: [PATCH] fix UTF-8 encoding issue
closes #290
---
setup.py | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/setup.py b/setup.py
index cbccfe8..9922686 100644
--- a/setup.py
+++ b/setup.py
@@ -65,8 +65,12 @@ requirements = ['numpy>=1.8.1',
]
# docs to be included
-long_description = open('README.rst').read()
-long_description += '\n' + open('CHANGES.rst').read()
+try:
+ long_description = open('README.rst', encoding='utf-8').read()
+ long_description += '\n' + open('CHANGES.rst', encoding='utf-8').read()
+except TypeError:
+ long_description = open('README.rst').read()
+ long_description += '\n' + open('CHANGES.rst').read()
# the actual setup routine
setup(name='madmom',
--
2.14.1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment