-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Use Pandoc to publish RestructuredText to PyPI #3817
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I'd be ok if we just had moved our |
@pydanny sounds good. I'd probably rather see/review that first, before considering using .rst for the README |
As reported in #4012, the pandoc reST output is not rendering properly on PyPI. PyPI doesn't really report these errors easily so here is some output that can hopefully help resolve the problem. On other projects, when I've resolved any errors from rst2html, the page starts to render properly on PyPI. python setup.py --long-description | rst2html.py > /dev/null
<stdin>:110: (WARNING/2) Cannot analyze code. Pygments package not found.
<stdin>:145: (WARNING/2) Cannot analyze code. Pygments package not found. Installing Pygments made the errors go away. |
@mblayman We already have a fix for that, see the related issues list. |
I ran the above command from the stable branch that includes the merged PR referenced in the issues list. I did some triage and thought this might be new information. My apologies if you were already aware of this. |
A little call out to Pandoc during the
publish
setup.py command would mean this:would look more like:
If this is something wanted, I'm more than happy to make the pull request.
The text was updated successfully, but these errors were encountered: