Fixes reading of README file.

This commit is contained in:
Eddie Hebert
2012-12-03 19:43:41 -05:00
parent 11a31dff22
commit 1f09450584
+2 -2
View File
@@ -26,8 +26,8 @@ def readme_as_rest():
This allows to have one canonical README file, being the README.md
"""
doc = pandoc.Document()
with open('README.md').read() as markdown_source:
doc.markdown = markdown_source
with open('README.md') as markdown_source:
doc.markdown = markdown_source.read()
return doc.rst
setup(