Build Training Wheel Package
MetaSpore uses cibuildwheel with a customized manlylinux2014 docker image to build Python wheel packages. Supported CPython versions are 3.8, 3.9, target os is linux and target arch is x86_64.
Under MetaSpore souce code dir, execute:
cibuildwheel --platform linux
Will create wheel packages for three CPython versions under the wheelhouse
subdir.
If you would like to build for a specify CPython version, e.g. Python 3.8, execute:
CIBW_BUILD=cp38-manylinux_x86_64 cibuildwheel --platform linux