From a5d617950af3ed6223880235910b3dc7afa84f81 Mon Sep 17 00:00:00 2001 From: Nathan Dunfield Date: Tue, 3 Sep 2024 23:15:04 -0500 Subject: [PATCH] Trying pyproject.toml --- .github/workflows/wheels.yml | 10 +--------- pyproject.toml | 7 +++++++ 2 files changed, 8 insertions(+), 9 deletions(-) create mode 100644 pyproject.toml diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 7cd77c3..5e0e364 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -15,15 +15,7 @@ jobs: - uses: actions/checkout@v3 - name: Build wheels - uses: pypa/cibuildwheel@v2.16.2 - 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/cibuildwheel@v2.20.0 - uses: actions/upload-artifact@v3 with: diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..7ccedad --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,7 @@ +[build-system] +requires = ["setuptools", "wheel", "cython"] + +[tool.cibuildwheel] +build = "cp312-*" +test-command = "python -m cypari.test" +