setup.py: decode README.rst to unicode.
Signed-off-by: W. Trevor King <wking@tremily.us>
This commit is contained in:
parent
87572b2c8c
commit
43a798bbdb
3
setup.py
3
setup.py
@ -30,6 +30,7 @@
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import codecs
|
||||
import os
|
||||
from subprocess import Popen, PIPE
|
||||
import sys
|
||||
@ -162,7 +163,7 @@ classifiers = [
|
||||
"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()
|
||||
|
||||
setup(name='pygit2',
|
||||
|
Loading…
x
Reference in New Issue
Block a user