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:
parent
805aa52f59
commit
f8a4f003f1
2
setup.py
2
setup.py
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user