-
Notifications
You must be signed in to change notification settings - Fork 1k
long_description_content_type flag in setup.py is ignored. IE #4079 not fixed. #9327
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
Hi, can you attach the built distributions you're attempting to upload? |
TL;DR, most probably:
Replace Hello, I've tried your files at hlovatt/statmach. More precisely, I've tried the following command:
As you'll notice, this command doesn't involve PyPI: it builds the package, and then checks it using Twine (nothing is sent). Even if the current state of your master branch replaces the long description:
it still seems to fail with:
Replacing the line with:
doesn't change the check output, so it seems the problem is elsewhere. The problem seems to be that you're loading the entire license file in the The fix is to only let I cannot guarantee that your problem is this, and that there isn't any other problem hiding behind but I can say that having multiple lines in the |
Many thanks for the help. Multiline license text is indeed the problem. |
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:I get the following errors:
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
The text was updated successfully, but these errors were encountered: