Skip to content

fix wheel for pypy (#132) #13

fix wheel for pypy (#132)

fix wheel for pypy (#132) #13

Workflow file for this run

name: Publish
on:
push:
tags:
- v*
jobs:
pypi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v3
- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.21.3
- name: Build wheels
env:
CIBW_BEFORE_BUILD: pip install 'setuptools<72.2.0 ; implementation_name == "pypy"'
run: python -m cibuildwheel --output-dir wheelhouse
- name: Check build result
run: ls -lh wheelhouse/
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: wheelhouse/
skip_existing: true
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}