Merge pull request #142 from wking/readme-encoding
setup.py: decode README.rst to unicode.
This commit is contained in:
commit
ee2813251b
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