gpt4 book ai didi

python - z3c.recipe.scripts 和 zc.recipe.egg 有什么区别?

转载 作者:行者123 更新时间:2023-11-30 23:43:14 24 4
gpt4 key购买 nike

z3c.recipe.scripts 和 zc.recipe.egg 似乎都在积极开发中。

z3c.recipe.scripts 描述为:

The script recipe installs eggs into a buildout eggs directory, exactly like zc.recipe.egg, and then generates scripts in a buildout bin directory with egg paths baked into them.

zc.recipe.egg 描述为:

The egg-installation recipe installs eggs into a buildout eggs directory. It also generates scripts in a buildout bin directory with egg paths baked into them.

那么有什么区别呢?我需要两者吗?

最佳答案

您不需要两者。显然,z3c.recipe.scriptszc.recipe.egg 有一些改进:

  • The interpreter generated by the script supports all interpreter options, as opposed to the subset provided by zc.recipe.egg.
  • Both scripts and interpreters from this recipe can optionally choose to include site-packages, and even sitecustomize.

这些选项在z3c.recipe.scripts PyPI page中有更详细的描述。 .

如果您不明白这些选项的含义,您可能根本不需要使用z3c.recipe.eggs;只需坚持使用 zc.recipe.egg,它作为 zc.buildout 核心的一部分进行维护。

关于python - z3c.recipe.scripts 和 zc.recipe.egg 有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10936783/

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