bugtrack_url: IIRC it was something added by the PyPI maintainers to help projects, but in parallel PEP 345 introduced Project-URL which was intended to cover source code repository, bug tracker, mailing list, etc. If PEP 426 or one of its companion keeps Project-URL (and maybe improves it with defined labels for common sites, e.g. "repository"), then this special case becomes redundant.
以及
At the moment, it looks like this is hardcoded to None in their API. I guess they left the field for backwards compatibility when they migrated...
PyPi项目上的Bug tracker URL
在设置.py在设置中使用project_urls:
保留dict顺序,但列在reversed on PyPi:
关于PyPi
bugtracker_url
遗留代码pypa/warehouse Issue #233
以及
该条目名为
bugtrack_url
,但它没有从setup.py
中提取。在从context和{a2}我了解到,它只打算在PyPI上通过web使用,根据项目元数据,而不是通常的每个版本信息。在
该字段现在被认为是legacy field(硬编码为} entry 在
None
),您可以通过Project-URL list添加此类信息,您可以通过^{setuptools
中设置:这个选项是finally added to ^{} in November 2017 ,在版本38.3.0中登陆。在
相关问题 更多 >
编程相关推荐