mirror of
https://github.com/powerline/powerline.git
synced 2025-07-16 02:15:01 +02:00
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
|
#!/usr/bin/env python
|
||||||
# vim:fileencoding=utf-8:noet
|
# vim:fileencoding=utf-8:noet
|
||||||
|
from __future__ import unicode_literals
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ from setuptools import setup, find_packages
|
|||||||
|
|
||||||
here = os.path.abspath(os.path.dirname(__file__))
|
here = os.path.abspath(os.path.dirname(__file__))
|
||||||
try:
|
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:
|
except IOError:
|
||||||
README = ''
|
README = ''
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user