gpt4 book ai didi

python - Trove 分类器定义

转载 作者:太空狗 更新时间:2023-10-29 20:21:59 26 4
gpt4 key购买 nike

我使用 Python 遇到了这个概念 distutils2/packaging .

我确实谷歌了,但没有完全理解这个想法,所以宁愿从更有经验的人那里得到更好的解释,以更好地吸收这个概念。

"Trove classifiers are for classification (and searching is a nice consequence of that). It's a matter of accuracy. PyPy, IronPython and Jython are not programming languages they are implementations of the Python programming language. Shedskin and and Cython are python-like programming languages (yes, subset and mostly-superset respectively)."

和,

"It would be useful to be able to specify that a package is tested with (known to work with) alternative implementations. So, for example, I would tag "mock" with pypy and Jython as I routinely test on those implementations and know that it works."

这是支持的 classifiers list到目前为止。

最佳答案

这对我来说是一个新概念,因此请完成这个答案或开始一个新的答案,以便它可以帮助将来遇到这个问题的其他人。

它实际上是一个project :

The Trove project is an attempt to create an open-source distributed archiving system for use at large software archive sites.

它在 PEP 301 中指定:

The list of classification values on the module index has been merged from FreshMeat and SourceForge (with their permission). This list will be made available both through the web interface and through the register command's --list-classifiers option as a text list which may then be copied to the setup.py file. The register command's --verify option will check classifiers values against the server's list.

关于python - Trove 分类器定义,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9094220/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com