Commit Diff


commit - 91f9ef9dfa0127c40906113b4abb71c90d408f09
commit + ee0223452ddad06224fbfbda668d9f8fce23ee24
blob - aab1375ec6314976cb71d5e411ac90edefd9e726
blob + 09e198020d84a6bd4cd1202d0cb69c01c11543ca
--- .github/workflows/python-distributions.yml
+++ .github/workflows/python-distributions.yml
@@ -36,15 +36,6 @@ jobs:
         if: "matrix.os == 'ubuntu-latest'"
       - name: Build wheels
         run: python -m cibuildwheel --output-dir wheelhouse
-        env:
-          CIBW_ENVIRONMENT: 'PATH="$HOME/.cargo/bin:$PATH"'
-          CIBW_ARCHS_LINUX: x86_64 aarch64
-          CIBW_ARCHS_MACOS: x86_64 arm64 universal2
-          CIBW_ARCHS_WINDOWS: AMD64 x86
-          CIBW_BEFORE_BUILD: >
-            pip install -U setuptools-rust &&
-            curl https://sh.rustup.rs -sSf | sh -s -- --profile=minimal -y &&
-            rustup show
       - name: Upload wheels
         uses: actions/upload-artifact@v3
         with:
blob - 6b920262b39eb8882bf9ee55966b39f594b57e0a
blob + 6592b8f7b02b4cb3697fec52d1aac59bc7cbc15b
--- pyproject.toml
+++ pyproject.toml
@@ -111,3 +111,10 @@ target-version = "py37"
 
 [tool.ruff.lint.pydocstyle]
 convention = "google"
+
+[tool.cibuildwheel]
+environment = {PATH="$HOME/.cargo/bin:$PATH"}
+before-build = "pip install -U setuptools-rust && curl https://sh.rustup.rs -sSf | sh -s -- --profile=minimal -y && rustup show"
+
+[tool.cibuildwheel.linux]
+skip = "*-musllinux_*"