diff --git a/setup.py b/setup.py index 28a4e26..b84deac 100755 --- a/setup.py +++ b/setup.py @@ -1,5 +1,6 @@ #!/usr/bin/env python +import io import os import sys @@ -18,10 +19,10 @@ 'rfc3986', ] -with open('README.rst') as f: +with io.open('README.rst', encoding='utf-8') as f: readme = f.read() -with open('HISTORY.rst') as f: +with io.open('HISTORY.rst', encoding='utf-8') as f: history = f.read() setup(