I have just discovered the pypi web UI have a field ‘Bug tracker URL’ in edit of egg metadata.
This field exists so I guess it is supported in setup.py but I can’t find anything about this using google.
So the question how do I set up this field in my setup.py so when doing a dist release on pypi it can be automaticly filled.
The entry is called
bugtrack_url, but it’s not being picked up fromsetup.py.From context and code I understand it was intended to be used through-the-web on PyPI only, as per-project metadata, and not the usual per-release information.
The field is now considered a legacy field (hardcoded to
None) and you instead add such information through the Project-URL list, which you can set insetuptoolsvia theproject_urlsentry:This option was finally added to
setuptoolsin November 2017, and landed in version 38.3.0.