diff --git a/.github/workflows/docker/buildwheel.sh b/.github/workflows/docker/buildwheel.sh index b81bd13..fb079c5 100644 --- a/.github/workflows/docker/buildwheel.sh +++ b/.github/workflows/docker/buildwheel.sh @@ -11,6 +11,7 @@ echo "arch=$ARCH" for V in "${PYTHON_VERSIONS[@]}"; do PYBIN=/opt/python/$V/bin rm -rf build/ # Avoid lib build by narrow Python is used by wide python + $PYBIN/python -m pip install build $PYBIN/python -m build --wheel done diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index f0380eb..f5ad3d5 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -27,6 +27,7 @@ jobs: - name: Build sdist shell: bash run: | + python -m pip install build python -m build --sdist - name: Upload sdist