From cfbeef600427941d8ff0202e2f57642fad7c14d1 Mon Sep 17 00:00:00 2001 From: Charley Peng Date: Wed, 13 Jul 2016 16:27:37 +1000 Subject: [PATCH] Update setup.py fixes #125 --- setup.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/setup.py b/setup.py index 468001cb..48fd0b27 100644 --- a/setup.py +++ b/setup.py @@ -1,16 +1,7 @@ import os from setuptools import setup -try: - from pypandoc import convert - - def read_md(f): return convert(f, 'rst') -except ImportError: - print("warning: pypandoc module not found, could not convert Markdown to RST") - - def read_md(f): return open(f, 'r').read() - -README = read_md('README.md') +README = open('README.rst','r').read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))