We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1d1fe8 commit db120b3Copy full SHA for db120b3
2 files changed
.github/workflows/build-wheels.yml
@@ -70,7 +70,27 @@ jobs:
70
run: python -m build
71
env:
72
GITHUB_ACTIONS: true
73
-
+
74
+ - name: Repair Linux wheels
75
+ if: runner.os == 'Linux'
76
+ run: |
77
+ pip install auditwheel
78
+ for whl in dist/*.whl; do
79
+ auditwheel repair "$whl" -w dist/repaired/
80
+ done
81
+ # Replace original wheels with repaired ones
82
+ rm dist/*.whl
83
+ mv dist/repaired/*.whl dist/
84
+ rmdir dist/repaired
85
86
+ - name: Repair macOS wheels
87
+ if: runner.os == 'macOS'
88
89
+ pip install delocate
90
91
+ delocate-wheel -v "$whl"
92
93
94
- name: Upload artifacts
95
uses: actions/upload-artifact@v4
96
with:
.github/workflows/pypi.yml
@@ -38,3 +38,4 @@ jobs:
38
uses: pypa/gh-action-pypi-publish@release/v1
39
40
packages-dir: dist/
41
+ skip-existing: true
0 commit comments