Add project_urls to setup#13623
Conversation
|
Just curious, how does pypi know which icon to use with the project_urls? For example: https://pypi.org/project/Django/ and https://pypi.org/project/Flask/ have different keys for their bug tracker and source, but pypi is able to figure out which icon to use. Is pypi parsing the url? |
These are used by PyPI and other services.
2f6cdad to
07df407
Compare
|
Here is what Flask did: Here is what Django did: According to the documentation (https://setuptools.readthedocs.io/en/latest/setuptools.html): Since I wasn't sure how well PyPI would be able to guess what I meant by a term I arbitrarily made up, I just copied the example in the documentation: |
|
@thomasjpfan I think PyPI has a hard coded logo for the bug tracker (since it's the same for Jango and Flask while they're using different platforms), and it recognizes github repos for the source as a special thing. Or it might just be using the favicon. |
|
Thanks @jarrodmillman ! |
This reverts commit f3d3203.
This reverts commit f3d3203.
These are used by PyPI and other services.
Reference Issues/PRs
What does this implement/fix? Explain your changes.
Any other comments?