use pandoc to include README.md in setuptools
This commit is contained in:
parent
381a78eee2
commit
2bb8ca83fc
4
setup.py
4
setup.py
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue