From bf02c1d8ebdcb6e42342ca4e8bf76c3c45352dfd Mon Sep 17 00:00:00 2001 From: Segev Finer Date: Sat, 22 Jul 2017 00:43:16 +0300 Subject: [PATCH] Set encoding for files read in setup.py --- setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 66d4dfe..f2bb50a 100644 --- a/setup.py +++ b/setup.py @@ -6,11 +6,12 @@ from setuptools import setup, find_packages import os +from io import open def read(*rnames): return "\n"+ open( - os.path.join('.', *rnames) - ).read() + os.path.join('.', *rnames), + encoding='utf-8').read() url="https://github.com/kiorky/SOAPpy.git" long_description="SOAPpy provides tools for building SOAP clients and servers. For more information see " + url\ +'\n'+read('README.txt')\