Merge remote-tracking branch 'kovidgoyal/fix-unicode-in-setup' into develop

This commit is contained in:
Kim Silkebækken 2013-07-31 08:03:45 +02:00
commit 9fd64f2dec
1 changed files with 2 additions and 2 deletions

View File

@ -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 = ''