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

后端 未结 2 684
北海茫月
北海茫月 2020-12-17 10:36

I used pip to get .whl file for numpy

pip wheel --wheel-dir=./ numpy

and I have got numpy-1.13.3-cp27-cp27mu-linux_armv7l.whl

2条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-17 11:21

    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

提交回复
热议问题