summaryrefslogtreecommitdiff
path: root/.github/workflows/pip-packaging-osx.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/pip-packaging-osx.yml')
-rw-r--r--.github/workflows/pip-packaging-osx.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/pip-packaging-osx.yml b/.github/workflows/pip-packaging-osx.yml
index f30b89d8..1f669a5e 100644
--- a/.github/workflows/pip-packaging-osx.yml
+++ b/.github/workflows/pip-packaging-osx.yml
@@ -41,4 +41,6 @@ jobs:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
- python -m twine upload --repository-url https://test.pypi.org/legacy/ build/src/python/dist/* \ No newline at end of file
+ mkdir wheelhouse
+ delocate-listdeps build/src/python/dist/* && delocate-wheel --require-archs x86_64 -w wheelhouse build/src/python/dist/*
+ python -m twine upload --repository-url https://test.pypi.org/legacy/ wheelhouse/* \ No newline at end of file