Wheel vs Egg
Page Status: | Complete |
Last Reviewed: | 2014-12-24 |
- Wheel has an official PEP. Egg did not.
- Wheel is a distribution format, i.e a packaging
format. Egg was both a distribution format and a runtime
installation format (if left zipped), and was designed to be importable.
- Wheel archives do not include .pyc files. Therefore, when the
distribution only contains python files (i.e. no compiled extensions), and is
compatible with Python 2 and 3, it’s possible for a wheel to be “universal”,
similar to an sdist.
- Wheel uses PEP376-compliant
.dist-info
directories. Egg used .egg-info
.
- Wheel has a richer file naming convention. A single
wheel archive can indicate its compatibility with a number of Python language
versions and implementations, ABIs, and system architectures.
- Wheel is versioned. Every wheel file contains the version of the wheel
specification and the implementation that packaged it.
- Wheel is internally organized by sysconfig path type,
therefore making it easier to convert to other formats.
::...
免责声明:
当前网页内容, 由
大妈 ZoomQuiet
使用工具:
ScrapBook :: Firefox Extension
人工从互联网中收集并分享;
内容版权归原作者所有;
本人对内容的有效性/合法性不承担任何强制性责任.
若有不妥, 欢迎评注提醒:
或是邮件反馈可也:
askdama[AT]googlegroups.com
订阅 substack 体验古早写作:
点击注册~> 获得 100$ 体验券:
关注公众号, 持续获得相关各种嗯哼:
自怼圈/年度番新
关于 ~ DebugUself with DAMA ;-)
粤ICP备18025058号-1
公安备案号:
44049002000656
...::