[doc] pypandoc

This commit is contained in:
mzwiessele 2015-10-11 16:10:00 +01:00
parent 2310ca2c08
commit 7849a02de2

View file

@ -56,7 +56,7 @@ def read_to_rst(fname):
#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'))
pypandoc.convert('README.md', 'rst', outfile='README.rst')
pypandoc.convert('README.md', 'rst', outputfile='README.rst')
except ImportError:
return read(fname)