How to force a python wheel to be platform specific when building it?

后端 未结 4 1858
南旧
南旧 2020-11-29 07:31

I am working on a python2 package in which the setup.py contains some custom install commands. These commands actually build some Rust code and output some

4条回答
  •  生来不讨喜
    2020-11-29 08:07

    You can also specify/spoof a specific platform name when building wheels by specifying a --plat-name:

    python setup.py bdist_wheel --plat-name=manylinux1_x86_64
    

提交回复
热议问题