Wheel Incompatibility between Python Minor Versions

后端 未结 1 2002
时光说笑
时光说笑 2021-01-27 06:44

I\'m releasing a package on PyPi which will support Python 3.6+, and would like to build as few wheels as possible.

I\'ve read up on Python\'s packaging system for wheel

1条回答
  •  伪装坚强ぢ
    2021-01-27 07:21

    Code written in pure Python in a 2-and-3 compatible way can be released in a universal wheel. One wheel that fits all Python versions. Example: https://pypi.org/project/SQLObject/#files

    But projects that include modules written in C must be released separately for every platform (processor architecture and 32/64-bitness), OS and Python version simply because the C code must be compiled differently. Example: https://pypi.org/project/Cheetah3/#files

    PS. Full disclosure: I'm the maintainer for both projects used as examples.

    0 讨论(0)
提交回复
热议问题