Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch extension building to setuptools #23

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
4 changes: 2 additions & 2 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Apply patches
run: cat $(ls patches/*.patch | sort) | patch -p1 -N
- name: Build sdist
run: pipx run poetry build -f sdist
run: pip3 install build && python3 -m build -s .

- uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
run: tar --strip-components=1 -xf dist/*.tar.gz

- name: Build wheel
uses: joerick/cibuildwheel@v1.11.0
uses: joerick/cibuildwheel@v2.20.0
env:
CIBW_SKIP: cp2* cp35* pp*
CIBW_TEST_COMMAND: pytest --regression {package}/tests
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
setup.py
.vscode/

# Byte-compiled / optimized / DLL files
Expand Down
8 changes: 8 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
include cbflib/src/*.c
include cbflib/include/*.h
include pycbf_wrap.c
include src/**/*.pyx
include src/**/*.pxd
include src/**/*.pyi


1 change: 1 addition & 0 deletions newsfragments/23.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Switch to setuptools extension building.
Loading
Loading