- Secret Recipes of the Python Ninja
- Cody Jackson
- 249字
- 2021-06-25 22:14:40
How it works...
The wheel file name format breaks down to <package_name>-<version>-<language_version>-<abi_tag>-<platform_tag>.whl. The package name is the name of the module to be installed, followed by the version of this particular wheel file.
The language version refers to Python 2 or Python 3; it can be as specific as necessary, such as py27 (any Python 2.7.x version) or py3 (any Python 3.x.x version).
The ABI tag refers to the Application Binary Interface. In the past, the underlying C API (Application Programming Interface) that the Python interpreter relies on changed with every release, typically by adding API features rather than changing or removing existing APIs. The Windows OS is particularly affected, where each Python feature release creates a new name for the Python Window's DLL.
The ABI refers to Python's binary compatibility. While changes to Python structure definitions may not break API compatibility, ABI compatibility may be affected. Most ABI issues occur from changes in the in-memory structure layout.
Since version 3.2, a limited set of API features has been guaranteed to be stable for the ABI. Specifying an ABI tag allows the developer to specify which Python implementations a package is compatible with, for example, PyPy versus CPython. Generally speaking, this tag is set to none, implying there is no specific ABI requirement.
The platform tag specifies which OS and CPU the wheel package is designed to run. This is normally any, unless the wheel's developer had a particular reason to limit the package to a specific system type.
- 深入理解Android(卷I)
- JavaScript:Functional Programming for JavaScript Developers
- 前端架構:從入門到微前端
- 用Python實現深度學習框架
- concrete5 Cookbook
- Oracle 18c 必須掌握的新特性:管理與實戰
- Hands-On Full Stack Development with Go
- Cybersecurity Attacks:Red Team Strategies
- Mobile Device Exploitation Cookbook
- Hacking Android
- Greenplum構建實時數據倉庫實踐
- Mastering Embedded Linux Programming
- Java設計模式深入研究
- Responsive Web Design with jQuery
- 計算機系統解密:從理解計算機到編寫高效代碼