use pandoc to include README.md in setuptools

This commit is contained in:
Steffen Vogel 2016-11-23 20:52:43 -05:00
parent 381a78eee2
commit 2bb8ca83fc
1 changed files with 2 additions and 2 deletions

View File

@ -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',