diff --git a/setup.py b/setup.py index 01287a8f..a45b9486 100644 --- a/setup.py +++ b/setup.py @@ -2,6 +2,7 @@ # Copyright © 2015-2017 ACSONE SA/NV # License LGPLv3 (http://www.gnu.org/licenses/lgpl-3.0-standalone.html) +import io import os import setuptools @@ -9,9 +10,9 @@ here = os.path.abspath(os.path.dirname(__file__)) long_description = [] -with open(os.path.join("README.rst")) as f: +with io.open(os.path.join("README.rst"), encoding="utf-8") as f: long_description.append(f.read()) -with open(os.path.join("CHANGES.rst")) as f: +with io.open(os.path.join("CHANGES.rst"), encoding="utf-8") as f: long_description.append(f.read())