diff --git a/setup.py b/setup.py index 3d0fcb7e..9a78bcb6 100755 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # vim:fileencoding=utf-8:noet - +from __future__ import unicode_literals import os import sys @@ -8,7 +8,7 @@ from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) try: - README = open(os.path.join(here, 'README.rst')).read() + README = open(os.path.join(here, 'README.rst'), 'rb').read().decode('utf-8') except IOError: README = ''