Skip to content

long_description_content_type flag in setup.py is ignored. IE #4079 not fixed. #9327

Closed
@hlovatt

Description

@hlovatt

The long_description_content_type flag in setup.py is still ignored despite original bug #4079 now closed and marked as fixed.

For my setup.py of:

long_description=read_text('README.md'),
long_description_content_type='text/markdown',

I get the following errors:

`long_description` has syntax errors in markup and would not be rendered on PyPI.
line 112: Warning: Inline literal start-string without end-string.
warning: `long_description_content_type` missing. defaulting to `text/x-rst`.

The syntax error is not correct, the README renders on everything I have tried!

Therefore suspect that long_description_content_type error, which isn't missing, is the problem!

All files at:

https://github.com/hlovatt/statmach

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions