conda的构建字符串是什么意思? [英] What is the meaning of conda's build string?

查看:110
本文介绍了conda的构建字符串是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我从命令行运行conda info sphinx,那么截至2017年8月24日的最后一项是

If I run conda info sphinx from the command line, the last entry as of August 24, 2017, is

sphinx 1.6.3 py36_0
-------------------
file name   : sphinx-1.6.3-py36_0.tar.bz2
name        : sphinx
version     : 1.6.3
build string: py36_0
...

构建字符串的含义是什么,在软件包版本中上面有镜像吗?这是软件包所需的python interpereter的最低版本吗?

What is the meaning of the build string, which is mirrored above in the package version? Is this the minimum version of the python interpereter required by a package?

推荐答案

此软件包的构建字符串(pyXX)的第一部分告诉您该软件包可用于的Python解释器的确切版本.最有可能的是,还有其他版本的Python其他软件包(py27py35等).第二部分(下划线后)告诉您此软件包的内部版本号.当构建配方发生变化,但是所构建软件的版本没有变化时,内部版本号通常会增加.您可以在

The first part of the build string (pyXX) of this package tells you the exact version of the Python interpreter that this package can be used for. Most likely, there are other packages for other versions of Python (py27, py35, etc.). The second part (after the underscore) tells you the build number of this package. The build number is typically incremented when there is a change in the build recipe, but no change in the version of the software being built. You can find more information in the description of the info/index.json fields.

但是请注意,> conda构建字符串将随着conda构建而变化3.0 .

软件包维护者可以使用meta.yml自定义其构建字符串(请参阅).

Package maintainers can customize their build strings using meta.yml (see Conda Build Documentation on Build section).

这篇关于conda的构建字符串是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆