3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-24 03:29:28 +01:00

setup.py: explicitly parse README.md as markdown_github

This commit is contained in:
James Lu 2017-06-06 13:38:40 -07:00
parent 805aa52f59
commit f8a4f003f1

View File

@ -32,7 +32,7 @@ with open('__init__.py', 'w') as f:
# Convert Markdown to RST for PyPI
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
long_description = pypandoc.convert('README.md', 'rst', format='markdown_github')
except ImportError:
print('WARNING: PyPandoc not available; skipping writing long description.')
long_description = None