mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-28 05:29:25 +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
|
# Convert Markdown to RST for PyPI
|
||||||
try:
|
try:
|
||||||
import pypandoc
|
import pypandoc
|
||||||
long_description = pypandoc.convert('README.md', 'rst')
|
long_description = pypandoc.convert('README.md', 'rst', format='markdown_github')
|
||||||
except ImportError:
|
except ImportError:
|
||||||
print('WARNING: PyPandoc not available; skipping writing long description.')
|
print('WARNING: PyPandoc not available; skipping writing long description.')
|
||||||
long_description = None
|
long_description = None
|
||||||
|
Loading…
Reference in New Issue
Block a user