See: https://github.com/pypa/cibuildwheel This seems to be a very powerful packaging tool for python package, which can fix the whl after packing it.