Description: Explicitly use UTF-8 when opening the README in setup.py
 The explicit use of utf8 was only done for Python2, this patch forces it
 for Python3 as well.
Author: Simon Chopin <chopin.simon@gmail.com>
Forwarded: https://github.com/sampsyo/pyacoustid/pull/25
Last-Update: 2014-09-29

--- pyacoustid-1.1.0.orig/setup.py
+++ pyacoustid-1.1.0/setup.py
@@ -20,7 +20,9 @@ def _read(fn):
     path = os.path.join(os.path.dirname(__file__), fn)
     data = open(path).read()
     if sys.version_info[0] < 3:
-        data = data.decode('utf8')
+        data = open(path).read().decode('utf8')
+    else:
+        data = open(path, encoding='utf8').read()
     # Special case some Unicode characters; PyPI seems to only like ASCII.
     data = data.replace(u'\xe1', u'a')
     data = data.replace(u'\u0161', u's')
