diff --git a/setup.py b/setup.py index fdc9b53..5db7014 100755 --- a/setup.py +++ b/setup.py @@ -3,9 +3,11 @@ from setuptools import setup # read the contents of your README file -from os import path -this_directory = path.abspath(path.dirname(__file__)) -with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: +import os.path +import io + +this_directory = os.path.abspath(os.path.dirname(__file__)) +with io.open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f: long_description = f.read() setup(