V2EX sdist

Sdist

Definition / 释义

sdist(常见于 Python 生态)指“源代码发行包”(source distribution):一种把项目源代码按约定格式打包发布的归档文件(常见如 .tar.gz),用于分发源码,供用户在本地构建与安装。另有与之对应的二进制发行包 wheel

Pronunciation / 发音

/s.dst/

Examples / 例句

I built an sdist for my library before uploading it.
我在上传之前为我的库构建了一个 sdist 源码包。

If the project includes compiled extensions, installing from sdist may require a compiler and the right build dependencies.
如果项目包含需要编译的扩展,从 sdist 安装可能需要编译器以及正确的构建依赖。

Etymology / 词源

sdistsource distribution(源代码发行包)的缩写;在 Python 打包工具(如 setuptools)中作为命令名/产物名广泛使用,用来区别于 bdist/wheel 这类偏“已构建好的二进制分发”。

Related Words / 相关词

Literary Works / 作品举例

  • Python Packaging User Guidepackaging.python.org)中关于 “Source Distributions (sdist)” 的章节
  • setuptools Documentation(Setuptools 用户指南)中关于 python -m build / setup.py sdist 的说明
  • PEP 517(A build-system independent format for source trees)中涉及 sdist 构建接口与流程的描述
  • PEP 518(Specifying Minimum Build System Requirements for Python Projects)中与构建 sdist 所需依赖相关的内容
关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     1264 人在线   最高记录 6679       Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 7ms UTC 17:28 PVG 01:28 LAX 10:28 JFK 13:28
Do have faith in what you're doing.
ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86