Wheel files : What is the meaning of “none-any” in protobuf-3.4.0-py2.py3-none-any.whl

依然范特西╮ 提交于 2019-11-30 18:51:04

Let's split package names by components:

  • numpy — package name
  • 1.13.3 — package version
  • cp27 — the package was compiled to be used with this version of Python
  • cp27mu — compilation flags
  • linux — operating system
  • armv7l — processor architecture

This means that package numpy contains binary extensions written in C and compiled for specific processor, OS and Python version.

The following package is pure Python:

  • protobuf — name
  • 3.4.0 — version
  • py2.py3 — the package is written in highly portable manner and is suitable for both major versions of Python
  • none — is not OS-specific
  • any — suitable to run on any processor architecture

The wheel filename is {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.whl.

distribution

Distribution name, e.g. 'django', 'pyramid'.

version

Distribution version, e.g. 1.0.

build tag

Optional build number. Must start with a digit. A tie breaker if two wheels have the same version. Sort as the empty string if unspecified, else sort the initial digits as a number, and the remainder lexicographically.

language implementation and version tag

E.g. 'py27', 'py2', 'py3'.

abi tag

E.g. 'cp33m', 'abi3', 'none'.

platform tag

E.g. 'linux_x86_64', 'any'.

reference is here.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!