See the dedicated build script.
Create a dedicated python environment:
python -m venv .pydevenv && source ./.pydevenv/bin/activate
Install and run cibuildwheel
(only for Linux, requirement: docker
):
pip install -U cibuildwheel
export CIBW_BEFORE_ALL_LINUX="yum install -y openblas-devel lapack-devel"
python -m cibuildwheel --output-dir wheelhouse --platform linux --arch auto64
Build source:
pip install -U setuptools
python setup.py build sdist
Install and run twine
:
pip install twine
cp wheelhouse/* dist/
twine upload dist/*