Skip to content

Commit

Permalink
trying cibuildwheel
Browse files Browse the repository at this point in the history
  • Loading branch information
bonevbs committed Aug 27, 2024
1 parent d4ecf1c commit f865325
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/deploy_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,21 @@ jobs:
python3 -m pip install numpy
python3 -m pip install torch --extra-index-url https://download.pytorch.org/whl/cpu
- name: Install auditwheel
- name: Install cibuildwheel
run: |
python3 -m pip install auditwheel
python3 -m pip install cibuildwheel
- name: Build distribution
- name: Build wheels
run: |
python3 -m build --wheel --sdist
cibuildwheel --output-dir dist
- name: Repair Linux wheel with auditwheel
- name: Build distribution
run: |
auditwheel repair dist/*.whl -w wheelhouse/
python3 -m build --sdist
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_PASSWORD }}
packages_dir: wheelhouse/
packages_dir: dist/

0 comments on commit f865325

Please sign in to comment.