-
Notifications
You must be signed in to change notification settings - Fork 35
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
Markdown README not displaying on PyPI (despite Description-Content-Type: text/markdown) #202
Comments
Looks like a setuptools/wheel issue; as PyPI does work as expected in other cases (e.g.: https://pypi.org/project/black/ or https://test.pypi.org/project/black/). Looking at the metadata (
Among those field is |
You're getting hit by this issue: pypa/setuptools#1390. |
It bug was: description=package.__doc__.strip().split('\n')[0] Would be cool if there was a way to detect that as a problem and abort the upload. |
You can't detect this at the upload level: it is valid, the problem must be detected at build time by setuptools. |
Closing in favor of pypa/setuptools#1390 (duplicate). |
Environment
Problem Description
When publishing a project with a README.md (Markdown) as the
long_description
andlong_description_content_type='text/markdown'
then PyPI displays all the submitted content in raw text format (instead of converted to HTML).Expected Behavior
Example Project
See also: PythonTurtle/PythonTurtle#121
The text was updated successfully, but these errors were encountered: