setup.py: decode README.rst to unicode.
Signed-off-by: W. Trevor King <wking@tremily.us>
This commit is contained in:
3
setup.py
3
setup.py
@@ -30,6 +30,7 @@
|
|||||||
|
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
|
||||||
|
import codecs
|
||||||
import os
|
import os
|
||||||
from subprocess import Popen, PIPE
|
from subprocess import Popen, PIPE
|
||||||
import sys
|
import sys
|
||||||
@@ -162,7 +163,7 @@ classifiers = [
|
|||||||
"Topic :: Software Development :: Version Control"]
|
"Topic :: Software Development :: Version Control"]
|
||||||
|
|
||||||
|
|
||||||
with open('README.rst') as readme:
|
with codecs.open('README.rst', 'r', 'utf-8') as readme:
|
||||||
long_description = readme.read()
|
long_description = readme.read()
|
||||||
|
|
||||||
setup(name='pygit2',
|
setup(name='pygit2',
|
||||||
|
Reference in New Issue
Block a user