blob: 4a527b31af94d1c0452f4be218861eaffe53891b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# Fix UnicodeDecodeError: 'ascii' codec can't decode error
--- setup.py.orig 2019-04-25 11:16:05 UTC
+++ setup.py
@@ -18,7 +18,7 @@ setuptools.setup(
name='pika',
version='1.0.1',
description='Pika Python AMQP Client Library',
- long_description=open('README.rst').read(),
+ long_description=open('README.rst', 'rb').read().decode("utf-8"),
maintainer='Gavin M. Roy',
maintainer_email='gavinmroy@gmail.com',
url='https://pika.readthedocs.io',
|