setup.py: decode README.rst to unicode.

Signed-off-by: W. Trevor King <wking@tremily.us>
This commit is contained in:
W. Trevor King 2012-10-25 15:47:02 -04:00
parent 87572b2c8c
commit 43a798bbdb

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