Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Commit

Permalink
build abi3 pacakge only
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 committed May 20, 2024
1 parent 5349e90 commit 3fe8dbf
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/_build_wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ jobs:
max-parallel: 4
matrix:
include:
- { os: macos-12, arch: x86_64, build: "*" } # cpython
- { os: macos-12, arch: arm64, build: "*" }
- { os: windows-latest, arch: x86, build: "*" }
- { os: windows-latest, arch: AMD64, build: "*" }
- { os: ubuntu-latest, arch: x86_64, build: "*" }
- { os: macos-12, arch: x86_64, build: "cp38*" } # cpython
- { os: macos-12, arch: arm64, build: "cp38*" }
- { os: windows-latest, arch: x86, build: "cp38*" }
- { os: windows-latest, arch: AMD64, build: "cp38*" }
- { os: ubuntu-latest, arch: x86_64, build: "cp38*" }
steps:
- uses: docker/setup-qemu-action@v3
if: matrix.os == 'ubuntu-latest'
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,8 @@ testing = [
"pytest-github-actions-annotate-failures==0.2.0",
]

[tool.distutils.bdist_wheel]
py-limited-api = 'cp38'

[tool.pytest.ini_options]
pythonpath = ['src']
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@
ext_modules=[module],
packages=find_packages("src"),
package_dir={"": "src"},
options={'bdist_wheel': {'py_limited_api': 'cp38'}},
)

0 comments on commit 3fe8dbf

Please sign in to comment.