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
Broken package description on PyPI #317
Comments
Hmm, just had another look and it seems the description over on PyPI is a copy-paste of a Markdown file (possibly the repo's README) and that's why the links appear broken? If it's too much work to always update the description there as well, wouldn't it make more sense to keep it brief but properly formatted and just refer (and link) to the README on here for further information? |
You're right, the description at PyPI comes from README, but at the moment is done automatically rather than manually copied and pasted, from this:
https://github.com/sixohsix/twitter/blob/master/setup.py#L19 |
I see! So for it to display properly, the Markdown woud have to be converted to plain text (or possibly HTML? not sure which imports are allowed on PyPI) first, and a link back to here would have to be added separately (e.g. via a separate file... that gets concatenated with the README, I suppose?). Hmm. Thanks for the info. |
Yes, something like that. setup.py could have a function to convert the badges from Markdown to HTML or RST or even delete them. Here's some examples: |
Yeah, I was doing a bit of research on my own and stumbled upon it being done with rst files. I won't have time to look into this more until late January, but as no-one seemed to have taken issue with this so far I guess that won't be a problem. (; I'm definitely interested in fixing this, though! |
So, I'm currently going through issues I opened and I did something with reStructuredText for the first time today, and it turns out that GitHub can display those as well. Now I'm not sure which method would be preferable: to convert the original |
I guess both work. |
Interesting, I only realised now that the I've meanwhile also found readme_renderer, a tool developed for the new version of PyPI. Anyway, I've now added the code required to have the |
Thanks, mergin it now! |
I have no idea where to report errors on PyPI pages describing packages, so I thought I'd start here:
All the links in the PyPI description of twitter are broken; it'd be great if they could be fixed to make that info page more user-friendly.
Aditionally it'd be very helpful if this GitHub repo were actually linked to from the PyPI page so people interested in contributing would quickly find their way here. – It took myself quite a bit of googling to arrive here (the name of the package doesn't really help with matters...).
The text was updated successfully, but these errors were encountered: