Skip to content

Commit

Permalink
Adding simple pip-based wheel build instead of complicated delvewheel
Browse files Browse the repository at this point in the history
  • Loading branch information
peekxc committed Dec 5, 2023
1 parent cd22404 commit dcf8f54
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 6 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/build_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,16 @@ jobs:
- name: Test with pytest
run: |
python -m pytest tests/ --cov=primate --benchmark-skip
coverage report -m
coverage report -m
- name: Build a wheel
run: |
python -m pip wheel . -w dist
- name: Test the wheel
run: |
pip uninstall primate -y
python -m pip install dist/primate*.whl
python -m pytest tests/ --cov=primate --benchmark-skip
coverage report -m
# - name: Make wheel w/ delvewheel
# run: |
# bash ./tools/repair_windows.sh
Binary file added more_itertools-10.1.0-py3-none-any.whl
Binary file not shown.
Binary file added numpy-1.26.2-cp311-cp311-macosx_10_9_x86_64.whl
Binary file not shown.
Binary file not shown.
10 changes: 5 additions & 5 deletions tools/cibw_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ if [ -n "$(command -v yum)" ]; then
yum install python39-devel
alias python=python3.9
elif [ -n "$(command -v apt-get)" ]; then
apt-get update -y
apt-get install -y clang libomp-dev
apt-get update -y
apt-get install -y libopenblas-dev
apt-get install -y python3-dev
sudo apt-get update -y
sudo apt-get install -y clang libomp-dev
sudo apt-get update -y
sudo apt-get install -y libopenblas-dev
sudo apt-get install -y python3-dev
elif [ -n "$(command -v apk)" ]; then
apk update
apk add clang # looks like Alpine only supports up to clang 10 ?
Expand Down

0 comments on commit dcf8f54

Please sign in to comment.