From 298598e3e696e0263e20cb92116724241b3f05b5 Mon Sep 17 00:00:00 2001 From: Jeffrey Hu Date: Wed, 3 Jan 2018 15:24:30 +0800 Subject: [PATCH] Fix encoding in setup.py UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 55: ordinal not in range(128) --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 92bebcb..19463cb 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ import os from setuptools import find_packages, setup -with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: +with open(os.path.join(os.path.dirname(__file__), 'README.md'), encoding='utf-8') as readme: README = readme.read() # allow setup.py to be run from any path @@ -37,4 +37,4 @@ 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', ], install_requires=['oss2', 'six', 'django>=1.6.0'], -) \ No newline at end of file +)