Use pypandoc to eliminate need of README.rst
Closed this issue · 2 comments
iCHAIT commented
@harshasrinivas Hi, I was wondering if README.rst could be removed from the source if pypandoc is used?
Something like this in setup.py
-
try:
import pypandoc
long_description = pypandoc.convert('Readme.md', 'rst')
except(IOError, ImportError):
long_description = open('Readme.md').read()
Will this work?
harshasrinivas commented
I've tried it already but unfortunately, I had some formatting issues with PyPI's documentation page. 😄
iCHAIT commented
Oh okay :)