File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -71,12 +71,17 @@ jobs:
7171 run : |
7272 pip install auditwheel
7373 python -m build --wheel
74- # Remove original linux_x86_64 wheels and keep only repaired manylinux wheels
75- rm dist/*linux_x86_64.whl
76- auditwheel repair dist/*.whl
74+ # List what's in dist/ for debugging
75+ ls -la dist/
76+ # Find and repair any .whl files
77+ find dist/ -name "*.whl" -exec auditwheel repair {} \;
7778 # Move repaired wheels to dist/ and remove wheelhouse/
78- mv wheelhouse/*.whl dist/
79- rm -rf wheelhouse
79+ if [ -d wheelhouse ]; then
80+ mv wheelhouse/*.whl dist/
81+ rm -rf wheelhouse
82+ fi
83+ # Remove original linux_x86_64 wheels
84+ rm -f dist/*linux_x86_64.whl
8085 twine check dist/*
8186
8287 - name : Build wheels (macOS/Windows)
You can’t perform that action at this time.
0 commit comments