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

View file

@ -1,8 +1,8 @@
import pypandoc
from setuptools import setup from setuptools import setup
def readme(): def readme():
with open('README.md') as f: return pypandoc.convert('README.md', 'rst')
return f.read()
setup(name='transwhat', setup(name='transwhat',
version='0.2', version='0.2',