From 7fa3df236c416c2e0f10cb3c8bf73aed7a08d6f5 Mon Sep 17 00:00:00 2001 From: Robert Lucian Chiriac Date: Mon, 24 Jun 2019 11:16:13 +0300 Subject: [PATCH] fix pip installing the library in python 3 --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index b0a7cff..51a64d2 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,9 @@ import os +import io from setuptools import setup -long_description = open(os.path.join(os.path.dirname(__file__), 'README.md')).read() +long_description = io.open(os.path.join(os.path.dirname(__file__), 'README.md'), encoding='utf-8').read() setup( name='kociemba',