简体   繁体   English

“[sdist]”在PIP的过时包列表中意味着什么?

[英]What does “[sdist]” mean in PIP's list of outdated packages?

Suddenly, all Python packages reported as out of date by pip with 突然间,所有Python软件包都被pip报告为过时了

pip list --outdated 

indicate [sdist] , as in 表示[sdist] ,如

awscli (Current: 1.7.19 Latest: 1.7.20 [sdist])
botocore (Current: 0.100.0 Latest: 0.101.0 [sdist])
jmespath (Current: 0.6.1 Latest: 0.6.2 [sdist])
plotly (Current: 1.6.14 Latest: 1.6.15 [sdist])

what does [sdist] mean? [sdist]是什么意思?

In python packaging terms, "sdist" stands for "source distribution" and it's counterpart "bdist" stands for "binary distribution". 在python包装术语中,“sdist”代表“源代码分发”,它的对应“bdist”代表“二进制分发”。

Along with those distribution types there's also the older "egg" and the newer egg-like distribution called "wheel". 除了那些分布类型,还有较旧的“鸡蛋”和较新的鸡蛋状分布称为“轮子”。

In this case it's telling you that the newer version of your packages will be installed as a source distribution. 在这种情况下,它会告诉您包的较新版本将作为源代码分发安装。 If a binary distribution would be installed, you'd see [wheel] instead. 如果要安装二进制分发版,则会看到[wheel]

This is a new feature , as of pip version 6.1.0 . 这是一个新功能 ,从pip版本6.1.0开始

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

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