Skip to content

Commit

Permalink
trying cibuildwheel
Browse files Browse the repository at this point in the history
  • Loading branch information
dwr-psandhu committed Dec 17, 2024
1 parent 18a42ae commit 299b2c4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/buildwheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,19 @@ jobs:
compiler: ${{ matrix.toolchain.compiler }}
version: ${{ matrix.toolchain.version }}

- name: Install pip dependencies
- name: Install cibuildwheel
run: |
python -m pip install --upgrade pip
python -m pip install build twine numpy versioneer
python -m pip install cibuildwheel
- name: Build wheel
- name: Build wheel with cibuildwheel
run: |
python -m build --wheel
cibuildwheel --output-dir dist
- name: Upload Python Package to PyPI
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
python -m pip install twine
python -m twine upload dist/*

0 comments on commit 299b2c4

Please sign in to comment.