简体   繁体   English

cx_Freeze安装脚本中的description选项有什么作用?

[英]What does the description option in a cx_Freeze setup script do?

I installed cx_Freeze a while ago, and recently froze my first program. 我前一段时间安装了cx_Freeze,最近又冻结了我的第一个程序。 In all the example setup scripts I've seen, the call to setup() contains several options, including things such as version and description . 在我见过的所有示例安装脚本示例中,对setup()的调用都包含多个选项,包括versiondescription Why does cx_Freeze want a description of my program? 为什么cx_Freeze想要我的程序的描述? What does it do with that information? 这些信息有什么作用? Most importantly, what am I missing out on if I don't set that argument? 最重要的是,如果我不提出该论点,我会错过什么呢?

AFAIK, cx_Freeze doesn't use the description option, but it's a standard part of setup.py files, which use the same mechanism (distutils) that Python has for distributing packages. AFAIK,cx_Freeze不使用description选项,但是它是setup.py文件的标准部分,该文件使用与Python分发包相同的机制(distutils)。

I think the version field can be embedded in the executable, though. 我认为version字段可以嵌入到可执行文件中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM