From dedf12b5b2bdd1dc067cebf4a39798f7211045ad Mon Sep 17 00:00:00 2001 From: mzwiessele Date: Sun, 11 Oct 2015 16:02:20 +0100 Subject: [PATCH] [doc] pypandoc --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 6715aa20..4dc5ddff 100644 --- a/setup.py +++ b/setup.py @@ -55,7 +55,7 @@ def read_to_rst(fname): import pypandoc #print 'Warning in installation: For rst formatting in pypi, consider installing pypandoc for conversion' with open('README.rst', 'w') as f: - f.write(pypandoc.convert('README.md', 'rst')) + f.write(unicode(pypandoc.convert('README.md', 'rst'))) except ImportError: return read(fname)