From 1f09450584124b14e449a9f2ddcfb63a763a0514 Mon Sep 17 00:00:00 2001 From: Eddie Hebert Date: Mon, 3 Dec 2012 19:43:41 -0500 Subject: [PATCH] Fixes reading of README file. --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 7791ff3d..11665f34 100644 --- a/setup.py +++ b/setup.py @@ -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(