1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
#!/usr/bin/env bash
__doc__="
Runs cibuildwheel to create linux binary wheels.
Requirements:
pip install cibuildwheel
SeeAlso:
pyproject.toml
"
if ! which docker ; then
echo "Missing requirement: docker. Please install docker before running build_wheels.sh"
exit 1
fi
if ! which cibuildwheel ; then
echo "The cibuildwheel module is not installed. Please pip install cibuildwheel before running build_wheels.sh"
exit 1
fi
#pip wheel -w wheelhouse .
# python -m build --wheel -o wheelhouse # line_profiler: +COMMENT_IF(binpy)
cibuildwheel --config-file pyproject.toml --platform linux --arch x86_64 # line_profiler: +UNCOMMENT_IF(binpy)
|