Merge remote-tracking branch 'kovidgoyal/fix-unicode-in-setup' into develop
This commit is contained in:
commit
9fd64f2dec
4
setup.py
4
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 = ''
|
||||
|
||||
|
|
Loading…
Reference in New Issue