From 2bb8ca83fc6b6a73bf770839993cc4266e27dae7 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Wed, 23 Nov 2016 20:52:43 -0500 Subject: [PATCH] use pandoc to include README.md in setuptools --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index c9b154e..7736110 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,8 @@ +import pypandoc from setuptools import setup def readme(): - with open('README.md') as f: - return f.read() + return pypandoc.convert('README.md', 'rst') setup(name='transwhat', version='0.2',