Skip to content

Commit

Permalink
Trying pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanDunfield committed Sep 4, 2024
1 parent 62fe36d commit a5d6179
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,7 @@ jobs:
- uses: actions/checkout@v3

- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_BUILD: "cp38-* cp39-* cp310-* cp311-* cp312-*"
CIBW_SKIP: "*-manylinux_i686 *musllinux* pp*"
CIBW_BEFORE_BUILD: >
pip install cython
CIBW_REPAIR_WHEEL_COMMAND_LINUX: auditwheel repair --strip -w {dest_dir} {wheel}
CIBW_TEST_COMMAND: python -m cypari.test

uses: pypa/[email protected]

- uses: actions/upload-artifact@v3
with:
Expand Down
7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[build-system]
requires = ["setuptools", "wheel", "cython"]

[tool.cibuildwheel]
build = "cp312-*"
test-command = "python -m cypari.test"

0 comments on commit a5d6179

Please sign in to comment.