How to include license file in setup.py script?

前端 未结 5 1805
陌清茗
陌清茗 2021-02-01 14:55

I have written a Python extension module in C++. I plan to distribute the module with setuptools. There will be binary distributions for 32- and 64-bit Windows (built with

5条回答
  •  借酒劲吻你
    2021-02-01 15:20

    Using a METADATA.in file, the license can be included both the source package and wheels automatically:

    METADATA.in include README.md include COPYING

    Check out an example here: https://github.com/node40/smsh

提交回复
热议问题