From 17d0acb299475900c38713aa5551eae8a7bbf548 Mon Sep 17 00:00:00 2001 From: Samuel Gaist <samuel.gaist@idiap.ch> Date: Mon, 10 Sep 2018 16:39:56 +0200 Subject: [PATCH] [setup] Enforce opening README.rst in utf-8 --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 668d39a19..6129da7f0 100755 --- a/setup.py +++ b/setup.py @@ -26,6 +26,7 @@ ############################################################################### from setuptools import setup, find_packages +from io import open # The only thing we do in this file is to call the setup() function with all # parameters that define our package. @@ -38,7 +39,7 @@ setup( license='AGPLv3', author='Idiap Research Institute', author_email='beat.support@idiap.ch', - long_description=open('README.rst').read(), + long_description=open('README.rst', encoding="utf-8").read(), # This line is required for any distutils based packaging. packages=find_packages(), -- GitLab