conda的构建字符串是什么意思?
What is the meaning of conda's build string?
如果我从命令行 运行 conda info sphinx
,截至 2017 年 8 月 24 日的最后一个条目是
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 的最低版本吗?
此软件包的构建字符串 (pyXX
) 的第一部分告诉您此软件包可用于的 Python 解释器的确切版本。很可能还有其他版本的 Python(py27
、py35
等)的其他软件包。第二部分(在下划线之后)告诉您这个包的内部版本号。当构建配方发生变化但正在构建的软件版本没有变化时,构建号通常会增加。您可以在 the description of the info/index.json
fields.
中找到更多信息
但是请注意,the build string will be changing with conda build 3.0。
包维护者可以使用 meta.yml
(参见 Conda Build Documentation on Build section)自定义他们的构建字符串。
如果我从命令行 运行 conda info sphinx
,截至 2017 年 8 月 24 日的最后一个条目是
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 的最低版本吗?
此软件包的构建字符串 (pyXX
) 的第一部分告诉您此软件包可用于的 Python 解释器的确切版本。很可能还有其他版本的 Python(py27
、py35
等)的其他软件包。第二部分(在下划线之后)告诉您这个包的内部版本号。当构建配方发生变化但正在构建的软件版本没有变化时,构建号通常会增加。您可以在 the description of the info/index.json
fields.
但是请注意,the build string will be changing with conda build 3.0。
包维护者可以使用 meta.yml
(参见 Conda Build Documentation on Build section)自定义他们的构建字符串。