Merge pull request #142 from wking/readme-encoding

setup.py: decode README.rst to unicode.
This commit is contained in:
J. David Ibáñez 2012-10-26 07:26:10 -07:00
commit ee2813251b

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