Skip to content
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

docs: specify description type for pypi to render correctly #529

Merged
merged 2 commits into from
Oct 9, 2018

Conversation

nakulpathak3
Copy link
Contributor

@nakulpathak3 nakulpathak3 commented Oct 9, 2018

While working on #528, I realized that the docs don't actually render correctly on PyPi. This is because PyPi defaults to assuming a .rst file ( as specified in the FAQs) and our readme is .md

PyPi pointed to the python packaging guide which explains to include the long_description_content_type="text/markdown", parameter in your setup for proper packaging. On testing with twine as specified in the python packaging guide, I got an error Unexpected indentation line 270 which was fixed by unindenting the two lines below.

Steps to test the docs are:

  • $ python setup.py sdist
  • $ twine check dist/*

Sorry for all the links but hope this makes sense!

@nakulpathak3 nakulpathak3 changed the title fix(core): specify description type for pypi to render correctly docs: specify description type for pypi to render correctly Oct 9, 2018
Copy link
Member

@jeffwidman jeffwidman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch!

@jeffwidman jeffwidman merged commit cc4006e into python-zk:master Oct 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants